LayoutTests:
authorlweintraub <lweintraub@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Jun 2006 23:44:03 +0000 (23:44 +0000)
committerlweintraub <lweintraub@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Jun 2006 23:44:03 +0000 (23:44 +0000)
commitbcafb7e4e040f982fff8e6907912bbec35bcb4a3
treeb6e26de7d857eed6776ad0870b60f3d2d0766ffa
parentfaf636ff0747db2678d101ebf5636cbfdc04deec
LayoutTests:

        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: https://svn.webkit.org/repository/webkit/trunk@15088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/format-block-with-braces-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/format-block-with-braces-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/format-block-with-braces-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/format-block-with-braces.html [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-list-item-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-list-item-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-list-item-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-list-item.html [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-selection-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-selection-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-selection-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/indent-selection.html [new file with mode: 0644]
LayoutTests/editing/execCommand/outdent-selection-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/outdent-selection-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/outdent-selection-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/outdent-selection.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/Node.cpp
WebCore/editing/FormatBlockCommand.cpp
WebCore/editing/JSEditor.cpp