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

So I dusted off @yoichio's 2018 [proposal](https://docs.google.com/document/d/1VuNe7kYK7p6hN7_ozWIbjTLbjU5ctsS0kFwKd1t-8h0) to support Shadow DOM with the Selection APIs, and created an [updated version](https://github.com/mfreed7/shadow-dom-selection#readme). This one attempts to finish the action items (https://github.com/WICG/webcomponents/issues/79#issuecomment-432974389) that were opened after that initial proposal/discussion. I updated the shape of the API (`getComposedRange()` instead of `getComposedSelection()`), and added details for how each of the other Selection APIs needs to change.

New explainer: https://github.com/mfreed7/shadow-dom-selection#readme

This is a first (rewrite) draft, so thoughts and input are 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-937219375

Received on Wednesday, 6 October 2021 21:57:53 UTC