• justing's avatar
    LayoutTests: · f37c81f9
    justing authored
            Reviewed by harrison
            
            <rdar://problem/4747450>
            Gmail Editor: Caret doesn't always position itself after list marker
            <rdar://problem/4917055>
            GMail Editor: A hang can occur when attempting to apply list styling to selected indented text
    
            Added:
            * editing/execCommand/4747450-expected.checksum: Added.
            * editing/execCommand/4747450-expected.png: Added.
            * editing/execCommand/4747450-expected.txt: Added.
            * editing/execCommand/4747450.html: Added.
            * editing/execCommand/4917055-expected.txt: Added.
            * editing/execCommand/4917055.html: Added.
            Fixed:
            * editing/execCommand/create-list-with-hr-expected.checksum:
            * editing/execCommand/create-list-with-hr-expected.png:
            * editing/execCommand/create-list-with-hr-expected.txt:
    
    WebCore:
    
            Reviewed by harrison
            
            <rdar://problem/4747450>
            Gmail Editor: Caret doesn't always position itself after list marker
            <rdar://problem/4917055>
            GMail Editor: A hang can occur when attempting to apply list styling to selected indented text
    
            * editing/TextIterator.cpp:
            (WebCore::TextIterator::rangeFromLocationAndLength): Use VisiblePositions
            to compute the end of a run for emitted '\n's, because it's often wrong
            in that case.
    
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@18895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    f37c81f9
ChangeLog 295 KB