[Webkit-unassigned] [Bug 156529] document.execCommand("copy") only triggers if there is a selection.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 11 00:09:25 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156529
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rniwa at webkit.org
--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> ---
This stems from the fact WebKit uses selection to determine the copy/paste target whereas other browsers use the focused element to the same.
We should probably tweak Editor::dispatchCPPEvent so that it falls back to the focused element or the main document when there is no selection.
--
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/20160811/aa4bbb5e/attachment.html>
More information about the webkit-unassigned
mailing list