This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Replacing a child should create just one record, which has the old child in the removedNodes, and new node in the addedNodes. Currently the spec creates separate records.
This can't be done in general
Or maybe I'm wrong :)
I think I fixed this. Review welcome.
https://bitbucket.org/ms2ger/dom-core/changeset/9f958fdedb9c
Looks good to me, thanks! Just one nit: step 12 of "replace" says "Insert ... with the suppress observers flag." instead of "...with the suppress observers flag set." Seems like that should be consistent throughout this section.
Thanks: https://bitbucket.org/ms2ger/dom-core/changeset/2c38457f6c84