Re: [whatwg/dom] Declarative Shadow DOM (#831)

```html
<custom-element>
 <template shadowrootmode=closed>blah</template>
</custom-element>
<script>
customElements.define("custom-element", class CustomElement extends HTMLElement {
  constructor() {
    super();
    this.internals = this.attachInternals();
    console.log(this.internals.shadowRoot);
  }
});
</script>
```

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

Message ID: <whatwg/dom/issues/831/1550084924@github.com>

Received on Tuesday, 16 May 2023 17:30:08 UTC