Skip to content
  • mitz@apple.com's avatar
    WebCore: · c92d1283
    mitz@apple.com authored
            Reviewed by John Sullivan.
    
            - fix <rdar://problem/5607547> Single letter surrounded by soft hyphens can disappear
    
            Test: fast/text/soft-hyphen-2.html
    
            * rendering/bidi.cpp:
            (WebCore::chopMidpointsAt): Changed to iterate midpoints backwards, so
            that if there are two midpoints at the given position, only the last one
            will be chopped off.
    
    LayoutTests:
    
            Reviewed by John Sullivan.
    
            - test for <rdar://problem/5607547> Single letter surrounded by soft hyphens can disappear
    
            * fast/text/soft-hyphen-2.html: Added.
            * platform/mac/fast/text/soft-hyphen-2-expected.checksum: Added.
            * platform/mac/fast/text/soft-hyphen-2-expected.png: Added.
            * platform/mac/fast/text/soft-hyphen-2-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c92d1283