LayoutTests:
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Sep 2006 19:19:28 +0000 (19:19 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Sep 2006 19:19:28 +0000 (19:19 +0000)
commit6358cf6efd7576bc6a81a0f80c3d99e034a2bfd9
treeb1c30de142bb6920bd56fb8aeb7328608f3be039
parentc0380e1f0fdf5be0d2e70a0163418560852d7c48
LayoutTests:

        Reviewed by Justin.

        Testcase for:
        http://bugzilla.opendarwin.org/show_bug.cgi?id=10579
        AppleStyleCommand::applyBlockStyle crash

        * editing/style/table-selection-expected.checksum: Added.
        * editing/style/table-selection-expected.png: Added.
        * editing/style/table-selection-expected.txt: Added.
        * editing/style/table-selection.html: Added.

WebCore:

        Reviewed by Justin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10579
        AppleStyleCommand::applyBlockStyle crash

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyBlockStyle): Prevent a crash by
        making sure that the 'beyondEnd' node is after the start node.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/style/table-selection-expected.checksum [new file with mode: 0644]
LayoutTests/editing/style/table-selection-expected.png [new file with mode: 0644]
LayoutTests/editing/style/table-selection-expected.txt [new file with mode: 0644]
LayoutTests/editing/style/table-selection.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/ApplyStyleCommand.cpp