- From: Emilio Cobos Álvarez <notifications@github.com>
- Date: Mon, 27 Nov 2023 10:47:28 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 November 2023 18:47:34 UTC
I don't know, that makes code like this potentially fail in a very action-at-a-distance way, and with no pointer to the root cause of the issue (a `shadowrootmode=closed` template):
```js
host.attachShadow({ mode: "open" });
host.shadowRoot.appendChild(...);
```
I guess we could add a console warning or so... Maybe it's worth a note in the spec?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1235#issuecomment-1828421039
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/issues/1235/1828421039@github.com>
Received on Monday, 27 November 2023 18:47:34 UTC