Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Issue 2889523002: MutationObserver: Correct MutationRecords for Node.replaceChild(). (Closed)

Created:
3 years, 7 months ago by tkent
Modified:
3 years, 7 months ago
Reviewers:
hayato
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MutationObserver: Correct MutationRecords for Node.replaceChild(). parent.replaceChild(parent.lastChild, parent.firstChild); This code produced just one MutationRecord, but it should produce two MutationRecords. This CL makes replaceChild() implementation close to the DOM standard. New behavior matches to Firefox and Safari. BUG=722741 Review-Url: https://codereview.chromium.org/2889523002 Cr-Commit-Position: refs/heads/master@{#472393} Committed: https://chromium.googlesource.com/chromium/src/+/56387aa57bc11d0f969c5bb9824a39c804202be3

Patch Set 1 : . #

Patch Set 2 : Add step comments #

Messages

Total messages: 23 (16 generated)
tkent
hayato@, would you review this please?
3 years, 7 months ago (2017-05-17 01:57:04 UTC) #11
hayato
LGTM Nit: Could we add a comment which explains where step 13, 14 happen? It ...
3 years, 7 months ago (2017-05-17 04:56:13 UTC) #14
tkent
> Nit: Could we add a comment which explains where step 13, 14 happen? It ...
3 years, 7 months ago (2017-05-17 05:13:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889523002/40001
3 years, 7 months ago (2017-05-17 05:14:34 UTC) #18
sof
unmutate :) the title before landing (s/repalce/replace/)?
3 years, 7 months ago (2017-05-17 06:16:10 UTC) #19
tkent
On 2017/05/17 at 06:16:10, sigbjornf wrote: > unmutate :) the title before landing (s/repalce/replace/)? Done. ...
3 years, 7 months ago (2017-05-17 07:23:34 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 09:13:28 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/56387aa57bc11d0f969c5bb9824a...

Powered by Google App Engine
This is Rietveld 408576698