Re: [WICG/webcomponents] Need a callback for when children changed or parser finished parsing children (#809)

> @mfreed7 layout happens end-of-task and I believe any kind of tree mutations will have run their notifications by then. So I don't think this has to be a problem in practice. (I think there is a problem to solve ergonomics-wise.)

Sorry, help me understand this comment. Yes, layout and MutationObservers run when the parser yields, but that could happen before all children are parsed. That case isn't limited to elements with tons of children, it could just happen due to bad luck of placement on the page and the parser's decision making about when to yield.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/809#issuecomment-1470376994
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/809/1470376994@github.com>

Received on Wednesday, 15 March 2023 16:41:17 UTC