Re: [whatwg/dom] Should attachShadow throw or override when an existing declarative shadow root doesn't match? (Issue #1235)

> It seems like the first template should win in this case.
> @rniwa I guess what you are suggesting is that the HTML parser completely ignores subsequent `shadowrootmode` template elements?

I suppose that could work, presuming you mean *always* ignore subsequent declarative shadow roots, not just when their parameters mismatch. It's a change in behavior, so it might not be web compatible, but it seems relatively safe. If it sounds like you're happy with that, I'll try to implement it and see what happens.

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

Message ID: <whatwg/dom/issues/1235/1888134160@github.com>

Received on Thursday, 11 January 2024 23:34:34 UTC