Skip to content
  • lweintraub's avatar
    LayoutTests: · 44c00582
    lweintraub authored
            Reviewed by justin
    
            <rdar://problem/4592005> FormatBlock inserts in the wrong place, disregarding editable content
            <rdar://problem/4590763> FormatBlock for paragraph style doesn't work
    
            * editing/execCommand/format-block-with-braces-expected.checksum: Added.
            * editing/execCommand/format-block-with-braces-expected.png: Added.
            * editing/execCommand/format-block-with-braces-expected.txt: Added.
            * editing/execCommand/format-block-with-braces.html: Added.
            * editing/execCommand/indent-list-item-expected.checksum: Added.
            * editing/execCommand/indent-list-item-expected.png: Added.
            * editing/execCommand/indent-list-item-expected.txt: Added.
            * editing/execCommand/indent-list-item.html: Added.
            * editing/execCommand/indent-selection-expected.checksum: Added.
            * editing/execCommand/indent-selection-expected.png: Added.
            * editing/execCommand/indent-selection-expected.txt: Added.
            * editing/execCommand/indent-selection.html: Added.
            * editing/execCommand/outdent-selection-expected.checksum: Added.
            * editing/execCommand/outdent-selection-expected.png: Added.
            * editing/execCommand/outdent-selection-expected.txt: Added.
            * editing/execCommand/outdent-selection.html: Added.
    
    WebCore:
    
            Reviewed by justin
    
            <rdar://problem/4592005> FormatBlock inserts in the wrong place, disregarding editable content
            <rdar://problem/4590763> FormatBlock for paragraph style doesn't work
    
            * dom/Node.cpp:
            (WebCore::Node::rootEditableElement): Return inline nodes
            * editing/FormatBlockCommand.cpp:
            (WebCore::FormatBlockCommand::doApply): Keep from inserting before editable content
            * editing/JSEditor.cpp: Support html braces (<>) around tag names
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    44c00582