[Webkit-unassigned] [Bug 77294] [Chromium] Copy and paste of HTML content with non-breaking space misbehaves

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 09:22:13 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=77294





--- Comment #9 from Ryosuke Niwa <rniwa at webkit.org>  2012-05-02 09:22:13 PST ---
(In reply to comment #8)
> Select text from a UTF8 encoded webpage, such as this one. It'll now be in the clipboard. Then go ahead and use the onpaste handler with dataTransfer to get the text/html content. That content will still be in UTF8. Now, base64 encode that content and put it in a data uri marked as utf8.
> data:text/html;charset=utf-8;base64,...
> 
> And now for the bug: all of the utf8 characters show up appropriately. But, there's one big issue. The content will have many occurances of span tags with the class "Apple-converted-space". Inside of those span tags is an unrecognized UTF8 character, instead of typical spaces. So the user sees a bunch of missing character glyphs.

I don't observe this behavior. Namely, I don't see any elements with classname "Apple-converted-space" when I paste the contents. Could you give us more specifics about what content (precise steps to select content) is copied on which browser (exact revision), and then to exactly where this content is pasted. Ideally, we would like to have a reduction (some html file to reproduce this bug).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list