Re: [whatwg/dom] Avoid enqueuing tree mutation record when there is no mutation (#796)

Hmm, indeed, that wpt test doesn't follow the spec, and browsers have the behavior the wpt expects.
https://wpt.fyi/results/dom/nodes/MutationObserver-childList.html?label=experimental&label=master&aligned

I agree the current spec makes more sense, but not sure it is worth to change implementations.
Though one can think the attribute setting case differently - there one is after all setting a value, it just doesn't matter whether value is the same as before.
In this case one is replacing nothing with nothing.

Anyhow, I'd be ok to change Gecko's behavior if webkit and blink are also ok with that.
But I don't feel too strongly about this.

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

Received on Thursday, 21 November 2019 15:27:02 UTC