• leviw@chromium.org's avatar
    2011-01-19 Levi Weintraub <leviw@google.com> · 9cefa2c1
    leviw@chromium.org authored
            Reviewed by Darin Adler.
    
            Re-committing this with the proper expected results.
    
            Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
            logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
            resulted in the caret being placed incorrectly in overflowing editable IFrame content.
    
            Long lines in non-white-space-pre editable documents show cursor in wrong place
            https://bugs.webkit.org/show_bug.cgi?id=48132
    
            * editing/selection/caret-painting-in-overflowing-autowrap-content.html: Added.
            * editing/selection/resources/iframe-positioning-caret-at-end.html: Added.
            * platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.checksum: Added.
            * platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.png: Added.
            * platform/mac/editing/selection/caret-painting-in-overflowing-autowrap-content-expected.txt: Added.
    2011-01-19  Levi Weintraub  <leviw@google.com>
    
            Reviewed by Darin Adler.
    
            Re-committing this with the proper expected results.
    
            Changing RenderText::localCaretRect to clip to its containing block's logicalLeft and
            logicalRightLayoutOverflow instead of simply using logicalLeft and logicalRight, as this
            resulted in the caret being placed incorrectly in overflowing editable IFrame content.
    
            Long lines in non-white-space-pre editable documents show cursor in wrong place
            https://bugs.webkit.org/show_bug.cgi?id=48132
    
            Test: editing/selection/caret-painting-in-overflowing-autowrap-content.html
    
            * rendering/RenderText.cpp:
            (WebCore::RenderText::localCaretRect):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9cefa2c1