-
mitz@apple.com authored
Reviewed by Alexey Proskuryakov. - fix <rdar://problem/6873305> Two distinct characters are not displayed correctly with 2 of the font selections from the stickies widget Test: platform/mac/editing/pasteboard/text-precomposed.html Ensure that "text/plain" data retrieved from the clipboard is always precomposed. This makes Clipboard::getData() and Pasteboard::documentFragment() consistent with Pasteboard::plainText() and -[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]. * platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::getData): * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::documentFragment): WebKit/mac: Reviewed by Alexey Proskuryakov. - fix <rdar://problem/6873305> Two distinct characters are not displayed correctly with 2 of the font selections from the stickies widget * WebView/WebHTMLView.mm: (-[WebHTMLView _plainTextFromPasteboard:]): Return precomposed text. This is consistent with -_documentFragmentFromPasteboard:forType:inContext:subresources:. LayoutTests: Reviewed by Alexey Proskuryakov. - test for <rdar://problem/6873305> Two distinct characters are not displayed correctly with 2 of the font selections from the stickies widget * platform/mac/editing/pasteboard/text-precomposed-expected.txt: Added. * platform/mac/editing/pasteboard/text-precomposed.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9a71a3e1