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

> I didn't know this, meaning the following pattern should grant the element has been parsed, right?

I'll test this later but I doubt it, mutation observer callbacks happen on the microtask queue so I'd imagine if there was flaky internet it could add a couple children, pause parsing to wait for more data and wind up running mutation observer callback microtasks before all children are parsed.

As far as I'm aware the only reliable way to detect end of parsing of a specific element [is this thing from earlier in the thread](https://github.com/w3c/webcomponents/issues/809#issuecomment-488617054).

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

Received on Thursday, 18 July 2019 04:31:28 UTC