- From: Mason Freed <notifications@github.com>
- Date: Mon, 27 Nov 2023 10:42:32 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 November 2023 18:42:38 UTC
I did think about this one. The important detail (to me at least) is that `attachShadow` in these cases will clear out the shadow root before returning it. So it's not like this is an end-run around revealing closed shadow root content or anything. It's just a weird way to create a closed shadow root via a call to `attachShadow({mode:'open'})`. I do agree that it's perhaps a bit odd that the options provided to `attachShadow` don't get respected in this case, but the alternative seemed worse to me: *changing* the flags on an already-existing shadow root as a result of this call. I'm open to suggestions. (Keeping in mind that several implementations have shipped.) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1235#issuecomment-1828413062 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1235/1828413062@github.com>
Received on Monday, 27 November 2023 18:42:38 UTC