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

Issue 1841353002: Implement ShadowRoot.mode (Closed)

Created:
4 years, 8 months ago by yuzuchan
Modified:
4 years, 8 months ago
Reviewers:
hayato, kochi
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement ShadowRoot.mode This CL implements ShadowRoot.mode, which returns open or closed for V1, and open for V0 shadowroots. See the spec here: https://dom.spec.whatwg.org/#interface-shadowroot BUG=596770 Committed: https://crrev.com/e107da1b11c8418569fa52ee4e3d4d0feb60d027 Cr-Commit-Position: refs/heads/master@{#384528}

Patch Set 1 #

Patch Set 2 : Modify test results #

Total comments: 4

Patch Set 3 : Add a testcase and V1 flag #

Patch Set 4 : Rebase #

Total comments: 6

Patch Set 5 : Add a comment and refactor the layout test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html View 1 2 3 4 1 chunk +22 lines, -0 lines 1 comment Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841353002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841353002/1
4 years, 8 months ago (2016-03-30 03:22:28 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/203704)
4 years, 8 months ago (2016-03-30 04:29:50 UTC) #5
yuzuchan
PTAL
4 years, 8 months ago (2016-03-31 05:52:37 UTC) #7
kochi
https://codereview.chromium.org/1841353002/diff/20001/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h (right): https://codereview.chromium.org/1841353002/diff/20001/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h#newcode82 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h:82: String mode() const { return (type() == ShadowRootType::V0 || ...
4 years, 8 months ago (2016-03-31 06:19:16 UTC) #8
yuzuchan
PTAL This is how I feel about this patch: http://i.imgur.com/cLeIcgZ.gif https://codereview.chromium.org/1841353002/diff/20001/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h File third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h (right): https://codereview.chromium.org/1841353002/diff/20001/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h#newcode82 ...
4 years, 8 months ago (2016-03-31 07:51:07 UTC) #9
kochi
https://codereview.chromium.org/1841353002/diff/60001/third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html File third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html (right): https://codereview.chromium.org/1841353002/diff/60001/third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html#newcode7 third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html:7: <div id = "host3"></div> nit: Please be consistent on ...
4 years, 8 months ago (2016-03-31 08:38:42 UTC) #10
yuzuchan
Thanks for the review, PTAL again :) https://codereview.chromium.org/1841353002/diff/60001/third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html File third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html (right): https://codereview.chromium.org/1841353002/diff/60001/third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html#newcode7 third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html:7: <div id ...
4 years, 8 months ago (2016-03-31 09:32:25 UTC) #11
kochi
lgtm https://codereview.chromium.org/1841353002/diff/80001/third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html File third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html (right): https://codereview.chromium.org/1841353002/diff/80001/third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html#newcode17 third_party/WebKit/LayoutTests/shadow-dom/shadowroot-mode.html:17: assert_equals(host3.shadowRoot.mode, 'open'); nit: moving this line (17) below ...
4 years, 8 months ago (2016-03-31 10:34:02 UTC) #12
hayato
lgtm
4 years, 8 months ago (2016-03-31 11:19:23 UTC) #13
hayato
> This is how I feel about this patch: http://i.imgur.com/cLeIcgZ.gif Looks pretty good to me
4 years, 8 months ago (2016-03-31 11:21:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841353002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841353002/80001
4 years, 8 months ago (2016-04-01 01:34:55 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/197621)
4 years, 8 months ago (2016-04-01 07:36:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841353002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841353002/80001
4 years, 8 months ago (2016-04-01 07:37:52 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-01 09:19:09 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 09:20:29 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e107da1b11c8418569fa52ee4e3d4d0feb60d027
Cr-Commit-Position: refs/heads/master@{#384528}

Powered by Google App Engine
This is Rietveld 408576698