LayoutTests:
Reviewed by Darin.
<rdar://problem/
4714993> REGRESSION: After replacing a misspelled word in a sentence, the selected word wraps down to next line (10428)
* editing/pasteboard/
3976872-expected.txt:
* editing/pasteboard/
4076267-2-expected.txt:
* editing/pasteboard/
4076267-3-expected.txt:
* editing/pasteboard/
4076267-expected.txt:
* editing/pasteboard/8145-1-expected.txt:
* editing/pasteboard/paste-empty-startcontainer-expected.txt: Removed.
* editing/pasteboard/paste-match-style-001-expected.txt:
* editing/pasteboard/paste-match-style-002-expected.txt:
* editing/pasteboard/paste-text-019-expected.txt:
* editing/pasteboard/pasting-tabs-expected.txt:
WebCore:
Reviewed by Darin.
<rdar://problem/
4714993> REGRESSION: After replacing a misspelled word in a sentence, the selected word wraps down to next line (10428)
* editing/pasteboard/
3976872-expected.txt:
* editing/pasteboard/
4076267-2-expected.txt:
* editing/pasteboard/
4076267-3-expected.txt:
* editing/pasteboard/
4076267-expected.txt:
* editing/pasteboard/8145-1-expected.txt:
* editing/pasteboard/paste-empty-startcontainer-expected.txt: Removed.
* editing/pasteboard/paste-match-style-001-expected.txt:
* editing/pasteboard/paste-match-style-002-expected.txt:
* editing/pasteboard/paste-text-019-expected.txt:
* editing/pasteboard/pasting-tabs-expected.txt:
Updated because pasting text with no newlines does not use intermediate div.
* editing/markup.cpp:
(WebCore::fillContainerFromString):
First parameter is now a Container so a fragment can be passed.
(WebCore::createFragmentFromText):
A string with no newlines gets added inline, rather than being put into a paragraph.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17643
268f45cc-cd09-0410-ab3c-
d52691b4dbfc