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

Issue 147993006: Move insertAdjacentElement/insertAdjacentText to Element. (Closed)

Created:
6 years, 10 months ago by ojan
Modified:
6 years, 10 months ago
CC:
blink-reviews, arv+blink, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, watchdog-blink-watchlist_google.com, Inactive
Visibility:
Public.

Description

Move insertAdjacentElement/insertAdjacentText to Element. They were moved in https://src.chromium.org/viewvc/blink?revision=163529&view=revision to match http://domparsing.spec.whatwg.org/#insertadjacenthtml. The domparsing spec doesn't have insertAdjacentText/insertAdjacentElement. Unless we remove them, they really should function the same as insertAdjacentHTML. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166547

Patch Set 1 #

Patch Set 2 : rebaseline some tests #

Patch Set 3 : rebaseline one more test #

Patch Set 4 : actually include new tests #

Patch Set 5 : olc chunk mismatch :( #

Patch Set 6 : olc chunk mismatch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -53 lines) Patch
A LayoutTests/fast/dynamic/insertAdjacent-svg.html View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A + LayoutTests/fast/dynamic/insertAdjacent-svg-expected.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/fast/dynamic/insertAdjacentElement-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
D LayoutTests/fast/dynamic/insertAdjacentHTML-svg.html View 1 chunk +0 lines, -17 lines 0 comments Download
D LayoutTests/fast/dynamic/insertAdjacentHTML-svg-expected.txt View 1 chunk +0 lines, -5 lines 0 comments Download
M LayoutTests/fast/dynamic/insertAdjacentText-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/loader/delete-inside-cancelTimer-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Element.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/dom/Element.idl View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/html/HTMLElement.h View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/html/HTMLElement.cpp View 1 chunk +0 lines, -18 lines 0 comments Download
M Source/core/html/HTMLElement.idl View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
ojan
6 years, 10 months ago (2014-02-04 00:16:13 UTC) #1
adamk
It's not clear to me why we should increase the web-exposed surface of Element with ...
6 years, 10 months ago (2014-02-04 00:23:04 UTC) #2
pdr.
On 2014/02/04 00:23:04, adamk wrote: > It's not clear to me why we should increase ...
6 years, 10 months ago (2014-02-04 00:28:22 UTC) #3
ojan
On 2014/02/04 00:23:04, adamk wrote: > It's not clear to me why we should increase ...
6 years, 10 months ago (2014-02-04 00:28:29 UTC) #4
davve
On 2014/02/04 00:28:29, ojan wrote: > On 2014/02/04 00:23:04, adamk wrote: > > It's not ...
6 years, 10 months ago (2014-02-04 09:02:08 UTC) #5
arv1
I think moving these to Element while we decide if we want to remove them ...
6 years, 10 months ago (2014-02-04 15:31:18 UTC) #6
ojan
Standards discussed: https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 lgty?
6 years, 10 months ago (2014-02-04 18:17:33 UTC) #7
pdr.
On 2014/02/04 18:17:33, ojan wrote: > Standards discussed: https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 > > lgty? This makes me ...
6 years, 10 months ago (2014-02-04 20:48:45 UTC) #8
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 10 months ago (2014-02-04 22:00:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/147993006/320001
6 years, 10 months ago (2014-02-04 22:24:56 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 23:29:48 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) blink_heap_unittests, blink_platform_unittests, webkit_lint, webkit_python_tests, webkit_tests, webkit_unit_tests, ...
6 years, 10 months ago (2014-02-04 23:29:49 UTC) #12
ojan
The CQ bit was checked by ojan@chromium.org
6 years, 10 months ago (2014-02-05 01:32:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/147993006/320001
6 years, 10 months ago (2014-02-05 01:33:20 UTC) #14
davve
When doing the insertAdjacentHTML move I also made an additional fixup to the IDL definition: ...
6 years, 10 months ago (2014-02-05 09:45:06 UTC) #15
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-05 19:49:05 UTC) #16
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-05 19:53:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/147993006/320001
6 years, 10 months ago (2014-02-05 19:53:09 UTC) #18
commit-bot: I haz the power
Change committed as 166547
6 years, 10 months ago (2014-02-05 22:10:28 UTC) #19
ojan
6 years, 10 months ago (2014-02-05 22:20:25 UTC) #20
Message was sent while issue was closed.
On 2014/02/05 09:45:06, David Vest wrote:
> When doing the insertAdjacentHTML move I also made an additional fixup to the
> IDL definition: https://codereview.chromium.org/109273003/.

Ah. Didn't notice that.

> In the name of
> consistency, would you like a follow-up patch that aligns the other
> insertAdjacent* in a similar manner. If so, I'll wait until this has landed.

Sure.

Powered by Google App Engine
This is Rietveld 408576698