2006-09-14 Graham Dennis <graham.dennis@gmail.com>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Sep 2006 08:08:33 +0000 (08:08 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Sep 2006 08:08:33 +0000 (08:08 +0000)
commitbab1773b1e86049cee65475ec0d1bd6193fbbcaf
tree791448514b81ab1e77bdbeea9fb5a31a9b75480b
parentd9f23e8fe157e6f156b569f57854351e7dcf6842
2006-09-14  Graham Dennis  <graham.dennis@gmail.com>

        Reviewed by Justin Garcia.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=10726
          Crash in ApplyStyleCommand::applyRelativeFontStyleChange

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

2006-09-14  Graham Dennis  <graham.dennis@gmail.com>

        Reviewed by Justin Garcia.

        Modified testcase for:
        http://bugzilla.opendarwin.org/show_bug.cgi?id=10726
        Crash in ApplyStyleCommand::applyRelativeFontStyleChange

        * editing/style/table-selection-expected.checksum:
        * editing/style/table-selection-expected.png:
        * editing/style/table-selection-expected.txt:
        * editing/style/table-selection.html:
        This testcase was for 10579, which is very similar to this bug (10726)
        Now the testcase tests both bugs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/style/table-selection-expected.checksum
LayoutTests/editing/style/table-selection-expected.png
LayoutTests/editing/style/table-selection-expected.txt
LayoutTests/editing/style/table-selection.html
WebCore/ChangeLog
WebCore/editing/ApplyStyleCommand.cpp