[Webkit-unassigned] [Bug 163921] getSelection() method on DocumentOrShadowRoot is not implemented in ShadowRoot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 09:00:38 PDT 2019


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

Javan Makhmali <javan at javan.us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |javan at javan.us

--- Comment #2 from Javan Makhmali <javan at javan.us> ---
Firefox also does not implement `getSelection()` on Shadow Root, but the document level API works (`document.getSelection().getRangeAt(0)` will return a Shadow Root's Range). Safari has no such fallback or workaround, making it impossible to programmatically work with DOM selections inside a Shadow Root.

-- 
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/20190501/0db77129/attachment.html>


More information about the webkit-unassigned mailing list