Chromium Code Reviews
DescriptionDOM: Fix an issue of reversed MutationRecoards.
In appendChild, insertBefore, and replaceChild, ChildListMutationScope should be
destructed before calling notifications which can execute author scripts.
This CL splits InsertNodeVector() into two parts; one should be wrapped with
ChildListMutationScope, and another should not.
The new behavior matches to the DOM standard, Firefox, and Edge.
BUG=711568
Review-Url: https://codereview.chromium.org/2899613002
Cr-Commit-Position: refs/heads/master@{#473512}
Committed: https://chromium.googlesource.com/chromium/src/+/5a3def7f350a35e7e481714f0d3851c9434cdeec
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||||||||||||||||||||