Re: [w3c/webcomponents] DOM APIs which replace all children end up firing superfluous slotchange events (#764)

@rniwa I looked at this some more and I wonder if we should basically extend the "suppress observers flag" to also cover running "assign slotables for a tree". E.g., if you do `replaceChild()` (defined via https://dom.spec.whatwg.org/#concept-node-replace) with two `<slot>`s, it seems we should also run the algorithm once for parent's root and once for the removed node, right?

I guess it might only be observable for the case you brought up, but it seems conceptually cleaner if we manage them all in the same way.

-- 
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/764#issuecomment-419911033

Received on Monday, 10 September 2018 13:26:39 UTC