[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:03:11 PDT 2019


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

--- Comment #6 from Javan Makhmali <javan at javan.us> ---
> This is Chrome only API

Isn't it part of the spec (https://w3c.github.io/webcomponents/spec/shadow/#ranges-and-selections)? Or do you mean that only Chrome has implemented it?

> The latest proposal is to add getComposedRange

Interesting, thanks. It's a new API, not a replacement for getSelection(), right? https://github.com/w3c/selection-api/issues/98

---

As it stands, I'd be happy with any API for getting the Selection/Range from a Shadow Root. It's possible to do in Chrome and Firefox currently, but not Safari (unless I'm missing something?).

-- 
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/acb931da/attachment.html>


More information about the webkit-unassigned mailing list