LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jul 2006 23:50:51 +0000 (23:50 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jul 2006 23:50:51 +0000 (23:50 +0000)
commit1a45fea21b39f11a8cb366f74f3f0620a16340d1
tree180612f9ab7cac09c30c1daaec113a040925dc66
parent378cdd93cba4c29d6c78c2c793b48e518f36c1b4
LayoutTests:

        Reviewed by levi

        <rdar://problem/4242293>
        Poor paste fidelity of http://www.google.com/

        * editing/pasteboard/styled-element-markup-expected.checksum: Added.
        * editing/pasteboard/styled-element-markup-expected.png: Added.
        * editing/pasteboard/styled-element-markup-expected.txt: Added.
        * editing/pasteboard/styled-element-markup.html: Added.

WebCore:

        Reviewed by levi

        <rdar://problem/4242293>
        Poor paste fidelity of http://www.google.com/

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyInlineStyle):  Fixed crasher with nil-check.
        * editing/markup.cpp:
        (WebCore::startMarkup): Style information wasn't added to an element if it had
        attributes but no style attribute.

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