LayoutTests:
Reviewed by Darin.
Added new layout test to validate fix for <rdar://problem/
5000470> REGRESSION: ATOK IM: reconvert returns incorrect symbol due to inconsistent range domains in TSM
Corrected fast/text/attributed-substring-from-range to account for additional whitespace, and to be correct.
* fast/text/attributed-substring-from-range-expected.txt:
* fast/text/attributed-substring-from-range-in-textfield-expected.txt: Added.
* fast/text/attributed-substring-from-range-in-textfield.html: Added.
* fast/text/attributed-substring-from-range.html:
WebKit:
Reviewed by Darin.
Fixed <rdar://problem/
5000470> REGRESSION: ATOK IM: reconvert returns incorrect symbol due to inconsistent range domains in TSM by working around <rdar://problem/
5400551> [NSAttributedString(WebKitExtras) _web_attributedStringFromRange:] adds whitespace to the requested range
We truncate the returned string to the expected length.
* WebView/WebHTMLView.mm:
(-[WebHTMLView attributedSubstringFromRange:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24997
268f45cc-cd09-0410-ab3c-
d52691b4dbfc