[Webkit-unassigned] [Bug 49141] use data uri instead of webkit-fake-url for contentEditable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 6 20:02:49 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=49141
--- Comment #20 from Chris Dumez <cdumez at apple.com> ---
Ok, so I think I have a plan (in several steps):
1. Add HTML the pasteboard when copying an image in Safari, instead of RTFD. This matches Firefox and pasting this in Safari works great (Image shows and has a regular URL). Note that HTML has priority over images in WebKit when reading from the pasteboard.
2. When reading an image from the pasteboard, check if there is also a URL in the pasteboard and use it if there is, instead of creating a WebKit-fake-URL. This is testable by copying an image from Chrome to Safari. The pasted image would then have
a proper URL instead of a webkit-fake-url.
3. When reading an image from the pasteboard, and if there is no URL in the pasteboard, construct a Blob URL instead of a webkit-fake-url. Blob URLs have the benefit of being standard and convenient to use from JavaScript.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161007/4b26ad87/attachment.html>
More information about the webkit-unassigned
mailing list