LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Mar 2007 00:11:50 +0000 (00:11 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Mar 2007 00:11:50 +0000 (00:11 +0000)
commitd2d859d6c5931781045ae778bd323366a5d34d94
treeaa6493c644118ccaea4cfd07bdb6428e743e0bb7
parent2b4070bbbb9e586c33aee411fc88d2ef97cd6c77
LayoutTests:

        Reviewed by kevin

        <http://bugs.webkit.org/show_bug.cgi?id=12245>
        FCKeditor: Remove Format sometimes doesn't work
        <rdar://problem/4786404>
        Underline style is not removed from selection after performing Remove Format

        Added:
        * editing/execCommand/4786404-1-expected.checksum: Added.
        * editing/execCommand/4786404-1-expected.png: Added.
        * editing/execCommand/4786404-1-expected.txt: Added.
        * editing/execCommand/4786404-1.html: Added.
        * editing/execCommand/4786404-2-expected.checksum: Added.
        * editing/execCommand/4786404-2-expected.png: Added.
        * editing/execCommand/4786404-2-expected.txt: Added.
        * editing/execCommand/4786404-2.html: Added.
        Demonstrate fixes:
        * editing/execCommand/4920488-expected.checksum:
        * editing/execCommand/4920488-expected.png:
        * editing/execCommand/4920488-expected.txt:
        * editing/execCommand/4920742-1-expected.checksum:
        * editing/execCommand/4920742-1-expected.png:
        * editing/execCommand/4920742-1-expected.txt:
        * editing/execCommand/remove-formatting-2-expected.checksum:
        * editing/execCommand/remove-formatting-2-expected.png:
        * editing/execCommand/remove-formatting-2-expected.txt:
        Ditto, also added a FIXME:
        * editing/execCommand/remove-formatting-expected.checksum:
        * editing/execCommand/remove-formatting-expected.png:
        * editing/execCommand/remove-formatting-expected.txt:
        * editing/execCommand/remove-formatting.html:

WebCore:

        Reviewed by kevin

        <http://bugs.webkit.org/show_bug.cgi?id=12245>
        FCKeditor: Remove Format sometimes doesn't work
        <rdar://problem/4786404>
        Underline style is not removed from selection after performing Remove Format

        * editing/Editor.cpp:
        (WebCore::Editor::removeFormattingAndStyle): Re-wrote this.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
25 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/4786404-1-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-1-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-1.html [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-2-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-2-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/4786404-2.html [new file with mode: 0644]
LayoutTests/editing/execCommand/4920488-expected.checksum
LayoutTests/editing/execCommand/4920488-expected.png
LayoutTests/editing/execCommand/4920488-expected.txt
LayoutTests/editing/execCommand/4920742-1-expected.checksum
LayoutTests/editing/execCommand/4920742-1-expected.png
LayoutTests/editing/execCommand/4920742-1-expected.txt
LayoutTests/editing/execCommand/remove-formatting-2-expected.checksum
LayoutTests/editing/execCommand/remove-formatting-2-expected.png
LayoutTests/editing/execCommand/remove-formatting-2-expected.txt
LayoutTests/editing/execCommand/remove-formatting-expected.checksum
LayoutTests/editing/execCommand/remove-formatting-expected.png
LayoutTests/editing/execCommand/remove-formatting-expected.txt
LayoutTests/editing/execCommand/remove-formatting.html
WebCore/ChangeLog
WebCore/editing/Editor.cpp
WebCore/editing/InsertTextCommand.cpp