Re: [whatwg/dom] Add declarative Shadow DOM features (#892)

@mfreed7 commented on this pull request.



> @@ -5828,6 +5855,11 @@ dictionary ShadowRootInit {
   required ShadowRootMode mode;
   boolean delegatesFocus = false;
 };
+
+dictionary GetInnerHTMLOptions {
+  boolean includeShadowRoots = true;
+  sequence<ShadowRoot> closedRoots;

Hmm, I only have the context from the issue you linked, and not directly, but I assume you're referring to this:

> Rough consensus at TPAC F2F:
> 
> * Add `getComposedRange`, which takes a list of closed trees, to [`Selection`](https://w3c.github.io/selection-api/#dom-selection).

I can't help but notice the "which takes a list of **closed trees**" there...? Also, that thread seems dead for 2.5 years. Perhaps **this** could be the consistent API surface, which selection tries to match, once the discussion restarts?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/892#discussion_r579496662

Received on Friday, 19 February 2021 21:52:38 UTC