Re: [whatwg/dom] Request for mechanism to determine if children changed steps are called as a result of script or parser (Issue #1288)

By "invalidation" I meant having the `script` element maintain a boolean that gets set to false (invalidated) when non-parser manipulation has taken place. This seems similar to the "is changed by API" you describe in 1 above.

Such a setup seems vastly preferable over maintaining a complete separate copy of the contents of the `script` element, to the extent that is even viable to begin with. For instance, is there a clear difference between pre-insert and post-insert? There's a clear point when we hit `</script>`, but until that code points can be streaming in from various places.

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

Message ID: <whatwg/dom/issues/1288/2172582092@github.com>

Received on Monday, 17 June 2024 08:08:43 UTC