Re: [w3c/selection-api] Make setBaseAndExtent and other setter methods on Selection work with shadow DOM (#99)

Since the Selection API exposes the [`addRange`](https://w3c.github.io/selection-api/#dom-selection-addrange) method, certain concepts of Range will have to be adapted too. E.g. [`selectNode`](https://dom.spec.whatwg.org/#dom-range-selectnode) [aborts if the node doesn't have a parent](https://dom.spec.whatwg.org/#concept-range-select). However, I don't know if changing this might break other functionality.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/99#issuecomment-506645394

Received on Friday, 28 June 2019 08:11:17 UTC