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

Issue 1934123002: Implement DOM methods: prepend, append, after, before and replaceWith. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 7 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, kinuko+watch, rwlbuis, tkent
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement DOM methods: prepend, append, after, before and replaceWith. As per https://dom.spec.whatwg.org/#childnode ChildNode interface should contain after(), before() and replaceWith() API. As per https://dom.spec.whatwg.org/#parentnode ParentNode interface should contain append(), prepend() API. Intent to Implement and ship link: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/paritosh/blink-dev/efUPtYm1PP8/MGoTi17AYpcJ ( From paritosh.in@samsung.com's original CL https://codereview.chromium.org/1085843002 ) R=mkwst BUG=255482 Committed: https://crrev.com/c5fb1b6a7e7fc6eccd8355211c43cb6396f86d9a Cr-Commit-Position: refs/heads/master@{#391196}

Patch Set 1 #

Patch Set 2 : sync test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -384 lines) Patch
A + third_party/WebKit/LayoutTests/fast/dom/ChildNode/after.html View 4 chunks +32 lines, -49 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/ChildNode/before.html View 4 chunks +32 lines, -49 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/ChildNode/replace-with.html View 4 chunks +37 lines, -13 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/ParentNode/append.html View 2 chunks +26 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/ParentNode/append-on-document.html View 1 chunk +2 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/ParentNode/prepend.html View 3 chunks +29 lines, -8 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/dom/ParentNode/prepend-on-document.html View 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces-expected.txt View 1 11 chunks +57 lines, -57 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/ChildNode-after-expected.txt View 1 1 chunk +0 lines, -48 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/ChildNode-before-expected.txt View 1 1 chunk +0 lines, -48 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/ChildNode-replaceWith-expected.txt View 1 1 chunk +0 lines, -36 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/ParentNode-append-expected.txt View 1 1 chunk +0 lines, -17 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/ParentNode-prepend-expected.txt View 1 1 chunk +0 lines, -17 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/append-on-Document-expected.txt View 1 1 chunk +0 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/prepend-on-Document-expected.txt View 1 1 chunk +0 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/remove-unscopable-expected.txt View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 5 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/element-instance-property-listing-expected.txt View 6 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 8 chunks +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ChildNode.h View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ChildNode.idl View 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 1 chunk +90 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ParentNode.h View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ParentNode.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
sof
please take a look. The CL this is based off of didn't get the final ...
4 years, 7 months ago (2016-04-30 16:13:44 UTC) #3
Mike West
This looks good, but based on the previous bug, I'd like to understand how this ...
4 years, 7 months ago (2016-05-02 09:23:29 UTC) #4
Mike West
I'd also suggest just pinging the intent to ship thread and dropping the runtime flag ...
4 years, 7 months ago (2016-05-02 09:26:12 UTC) #5
sof
On 2016/05/02 09:26:12, Mike West wrote: > I'd also suggest just pinging the intent to ...
4 years, 7 months ago (2016-05-02 09:39:49 UTC) #6
sof
On 2016/05/02 09:39:49, sof wrote: > On 2016/05/02 09:26:12, Mike West wrote: > > I'd ...
4 years, 7 months ago (2016-05-02 09:43:21 UTC) #7
Rick Byers
On 2016/05/02 09:43:21, sof wrote: > On 2016/05/02 09:39:49, sof wrote: > > On 2016/05/02 ...
4 years, 7 months ago (2016-05-02 14:57:37 UTC) #9
sof
On 2016/05/02 09:39:49, sof wrote: > On 2016/05/02 09:26:12, Mike West wrote: > > I'd ...
4 years, 7 months ago (2016-05-02 20:04:46 UTC) #10
Mike West
Got it, thank you and LGTM. I'm happy either way; landing this as experimental is ...
4 years, 7 months ago (2016-05-03 05:19:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934123002/20001
4 years, 7 months ago (2016-05-03 05:58:44 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/176561)
4 years, 7 months ago (2016-05-03 06:05:30 UTC) #15
sof
On 2016/05/03 05:19:08, Mike West wrote: > Got it, thank you and LGTM. I'm happy ...
4 years, 7 months ago (2016-05-03 06:14:01 UTC) #16
sof
aww, yet another case where I attribute too many superpowers to reviewers :) webexposed/ changes ...
4 years, 7 months ago (2016-05-03 06:19:23 UTC) #19
jochen (gone - plz use gerrit)
lgtm
4 years, 7 months ago (2016-05-03 11:00:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934123002/20001
4 years, 7 months ago (2016-05-03 11:02:42 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-03 11:07:44 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 11:10:12 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c5fb1b6a7e7fc6eccd8355211c43cb6396f86d9a
Cr-Commit-Position: refs/heads/master@{#391196}

Powered by Google App Engine
This is Rietveld 408576698