LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Jul 2006 03:40:28 +0000 (03:40 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Jul 2006 03:40:28 +0000 (03:40 +0000)
commitae671038e1c0745de484865ddbba46222bba9d13
treebb2c6d7841a1d87b1bda1a2fb0881ce368ee8bf3
parent7d806434f1cadbfb810ccb241fd3b6cb2079b1bb
LayoutTests:

        Reviewed by Justin.

        - Test for <rdar://problem/4632132> Changing style of content with mixed editability fails

        * editing/style/apple-style-editable-mix-expected.checksum: Added.
        * editing/style/apple-style-editable-mix-expected.png: Added.
        * editing/style/apple-style-editable-mix-expected.txt: Added.
        * editing/style/apple-style-editable-mix.html: Added.

WebCore:

        Reviewed by Justin.

        - Fix for <rdar://problem/4632132> Changing style of content with mixed editability fails

        Test: * editing/style/apple-style-editable-mix.html

        * dom/Node.cpp: (WebCore::Node::isContentRichlyEditable): Doesn't need to check the editable root.  It now just
          checks the user modify property of its own renderer, since that is inherited.
        * editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyInlineStyle): If the end position is in a table,
        Adjust the end node to the last descendant of the table, so we don't skip over any runs.

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