Re: [WICG/webcomponents] Selection APIs for Shadow DOM (#79)

Ok, I've completed my action items from https://github.com/WICG/webcomponents/issues/79#issuecomment-946897700, and I've updated [the explainer](https://github.com/mfreed7/shadow-dom-selection#readme).

I also incorporated the brainstormed changes just above, including adding a `selectionRoot` argument to `getComposedRange()` plus more descriptions and examples about how it works. I added new sections for live `Range` modification and canonicalization.

Only this question remains, at least from my point of view, about how to pass back the information that "scoped" range endpoints were actually outside the `selectionRoot`:
> This is a good point. Any thoughts on how to communicate that? Augment `StaticRange` with another two boolean fields to indicate whether each endpoint has been "re-written"?

Overall thoughts and questions appreciated!


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/79#issuecomment-962292292

Received on Saturday, 6 November 2021 00:30:33 UTC