[Webkit-unassigned] [Bug 163921] Add selection API that works across shadow boundaries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 17:22:39 PDT 2019


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

--- Comment #8 from Javan Makhmali <javan at javan.us> ---
Got it, thanks for the clarifications!

> I'm pretty sure it's not supported in Firefox. 

That's correct, but window.getSelection() will return a Shadow Root's selection in Firefox. Probably goes against spec, but it works at least. See the Firefox note and linked issue in the README here: https://github.com/GoogleChromeLabs/shadow-selection-polyfill

There's no such workaround in Safari.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190503/58d8f54e/attachment.html>


More information about the webkit-unassigned mailing list