Skip to content
  • leviw@chromium.org's avatar
    2011-01-21 Levi Weintraub <leviw@chromium.org> · 2ea38bbf
    leviw@chromium.org authored
            Reviewed by Darin Adler.
    
            Adding border and padding to the calculation of the local caret rect for RenderBoxes.
    
            Undo moves caret to invalid position
            https://bugs.webkit.org/show_bug.cgi?id=49744
    
            Tests: editing/selection/caret-painting-after-paste-undo-rtl.html
                   editing/selection/caret-painting-after-paste-undo.html
    
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::localCaretRect):
    2011-01-21  Levi Weintraub  <leviw@chromium.org>
    
            Reviewed by Darin Adler.
    
            Updating the expected result for 5408255 and adding tests for caret positioning at the
            beginning and end of RenderBoxes.
    
            Undo moves caret to invalid position
            https://bugs.webkit.org/show_bug.cgi?id=49744
    
            * editing/selection/caret-painting-after-paste-undo-rtl.html: Added.
            * editing/selection/caret-painting-after-paste-undo.html: Added.
            * platform/mac/editing/deleting/5408255-expected.checksum:
            * platform/mac/editing/deleting/5408255-expected.png:
            * platform/mac/editing/selection/caret-painting-after-paste-undo-expected.checksum: Added.
            * platform/mac/editing/selection/caret-painting-after-paste-undo-expected.png: Added.
            * platform/mac/editing/selection/caret-painting-after-paste-undo-expected.txt: Added.
            * platform/mac/editing/selection/caret-painting-after-paste-undo-rtl-expected.checksum: Added.
            * platform/mac/editing/selection/caret-painting-after-paste-undo-rtl-expected.png: Added.
            * platform/mac/editing/selection/caret-painting-after-paste-undo-rtl-expected.txt: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2ea38bbf