Skip to content
  • justing's avatar
    LayoutTests: · cdacf131
    justing authored
            Reviewed by john
            
            <rdar://problem/4747695> 
            Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
    
            * editing/deleting/list-item-1-expected.checksum: Added.
            * editing/deleting/list-item-1-expected.png: Added.
            * editing/deleting/list-item-1-expected.txt: Added.
            * editing/deleting/list-item-1.html: Added.
            * editing/execCommand/remove-list-item-1-expected.checksum: Added.
            * editing/execCommand/remove-list-item-1-expected.png: Added.
            * editing/execCommand/remove-list-item-1-expected.txt: Added.
            * editing/execCommand/remove-list-item-1.html: Added.
    
    WebCore:
    
            Reviewed by john
            
            <rdar://problem/4747695> 
            Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
            
            * editing/DeleteSelectionCommand.cpp:
            (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
            to select special elements that are fully selected after expansion
            moves to positions that are visually distinct from the originals.
            * editing/InsertListCommand.cpp:
            (WebCore::InsertListCommand::doApply): If the content of the list 
            item will be moved into another list, put it in a list item.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cdacf131