Skip to content
  • justing's avatar
    LayoutTests: · a6a38496
    justing authored
            Reviewed by harrison
            
            Demonstrates bug:
            * editing/execCommand/5190926-expected.checksum: Added.
            * editing/execCommand/5190926-expected.png: Added.
            * editing/execCommand/5190926-expected.txt: Added.
            * editing/execCommand/5190926.html: Added.
            
            Avoided some nesting:
            * editing/execCommand/5142012-2-expected.txt:
            * editing/execCommand/switch-list-type-expected.txt:
    
    WebCore:
    
            Reviewed by harrison
    
            <rdar://problem/5190926> 
            Gmail Editor: Crash when removing list style from underlined, multi-item list
            
            The user underlined some text, then created a list.
            The list was placed inside the inline element carrying 
            the underline style, so, that element surrounded the 
            list instead of being at the lowest level (just above 
            text nodes). This kind of markup is more difficult to 
            edit. Filed 5192089 and added a workaround so that we 
            don't produce this kind of markup.
    
            * editing/InsertListCommand.cpp:
            (WebCore::InsertListCommand::doApply): Avoid inline
            elements when inserting the new list.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a6a38496