- From: Dominic Farolino <notifications@github.com>
- Date: Tue, 18 Jun 2024 09:04:47 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/issues/1288/2176465960@github.com>
> This is the only (relevant) place that's wrong from my testing but it's possible there could be other mismatches. That is good to know. Web platform tests confirming this across the two implementations would be lovely to see though. > Yes, my understanding is that the parser itself will fire children changed steps during the course of parsing. Right but I guess the question is: do these "children changed" steps in any specs actually modify the children of the node they are being called on? I don't think `<script>` processing uses the children changed steps today. After https://github.com/whatwg/html/pull/10188 though, the "children changed steps" will be used for scripts ([see this example](https://whatpr.org/html/10188/scripting.html#script-processing-model:children-changed-steps)), which will run scripts, but any further children modification done as a result of that I guess will be marked as an "API-initiated change" Anyways, I realize my initial question here was very dumb, since yes of course the parser can add children to nodes. That's like its only job when parsing a page. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1288#issuecomment-2176465960 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1288/2176465960@github.com>
Received on Tuesday, 18 June 2024 16:04:51 UTC