Re: [whatwg/dom] feature: `element.getShadow(opts)` (Issue #1046)

Hmm, that makes closed roots easy to get, doesn't it. Who actually uses closed roots?

Maybe this is better as an `ElementInternals` API? For example:

```js
#internals = this.attachInternals()

connectedCallback() {
  this.#internals.getShadow(opts).innerHTML = `...`
}
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1046#issuecomment-1013483594
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1046/1013483594@github.com>

Received on Friday, 14 January 2022 21:25:20 UTC