Skip to content
  • justing's avatar
    LayoutTests: · 384cf314
    justing authored
            Reviewed by darin
            
            <rdar://problem/4875189> List is deleted when replacing contents with Chinese/Japanese characters
    
            Moved from unsupported-content because we've supported editing lists
            for a while now:
            * editing/deleting/4875189-expected.checksum: Added.
            * editing/deleting/4875189-expected.png: Added.
            * editing/deleting/4875189-expected.txt: Added.
            * editing/deleting/4875189.html: Added.
            * editing/unsupported-content/list-delete-002-expected.checksum: Removed.
            * editing/unsupported-content/list-delete-002-expected.png: Removed.
            * editing/unsupported-content/list-delete-002-expected.txt: Removed.
            * editing/unsupported-content/list-delete-002.html: Removed.
            
            Reflects new behavior:
            * editing/deleting/delete-select-all-003-expected.checksum:
            * editing/deleting/delete-select-all-003-expected.png:
            * editing/deleting/delete-select-all-003-expected.txt:
            
            Ditto and also removed a FIXME:
            * editing/deleting/list-item-1-expected.checksum:
            * editing/deleting/list-item-1-expected.png:
            * editing/deleting/list-item-1-expected.txt:
            * editing/deleting/list-item-1.html:
    
    WebCore:
    
            Reviewed by darin
            
            <rdar://problem/4875189> 
            List is deleted when replacing contents with Chinese/Japanese characters
    
            * editing/htmlediting.cpp:
            (WebCore::isSpecialElement): Lists are no longer special.
            They can be removed by removing their content and then 
            then hitting delete inside of the empty list item that's 
            left over. Even when that list item is the first thing 
            in the editable region.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    384cf314