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