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

> I think the ideal behaviour here would be to throw only if the init parameters are mismatched. Alternatively current behaviour and console warning, and probably note on the spec. But I find the current behaviour rather unfortunate

I think I could live with that (throw if parameters mismatch). I'm assuming this won't be much of a breaking change.

Are you suggesting we check *all* parameters, such as `delegatesFocus`, `slotAssignment`, etc.?

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

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

Received on Tuesday, 28 November 2023 17:28:40 UTC