LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2007 00:58:09 +0000 (00:58 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Mar 2007 00:58:09 +0000 (00:58 +0000)
commit1ae918a09644aa010a8bc46bae4fe2b96b5e75c0
tree8e89abdf7ea311b719eba7bb0ac5390d1d47ce3e
parentd5750e4e274388192f8db9b9a318d2f5b217b338
LayoutTests:

        Reviewed by adele

        <rdar://problem/5078739>
        Crash in in ReplaceSelectionCommand if the fragment contains only a style span

        * editing/pasteboard/5078739-expected.txt: Added.
        * editing/pasteboard/5078739.html: Added.

WebCore:

        Reviewed by adele

        <rdar://problem/5078739>
        Crash in in ReplaceSelectionCommand if the fragment contains only a style span

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::doApply): Check
        for an empty fragment after removing a redundant
        style span instead of before.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/5078739-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/5078739.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/ReplaceSelectionCommand.cpp