- From: Wiktor <notifications@github.com>
- Date: Thu, 22 Sep 2022 14:45:17 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 September 2022 21:45:36 UTC
> I tend to agree that this is a bit odd, and it's also odd that this behavior is potentially observable by user script (e.g. a `<script>` inside of the `<template>`, which [can mutate the template during parsing](https://codepen.io/nolanlawson-the-selector/pen/NWMjZKd) (bug?), or `MutationObserver`, although that seems [fixed now](https://bugs.chromium.org/p/chromium/issues/detail?id=1315283)). To me, it makes a lot of sense but recently I have tried registering custom elements from inside of the DSD template tag and it did not work well: https://bugs.chromium.org/p/chromium/issues/detail?id=1365220 So now when this question was asked I start to wonder if both cases are expected or not and if they are connected. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/831#issuecomment-1255586787 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/831/1255586787@github.com>
Received on Thursday, 22 September 2022 21:45:36 UTC