Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(34)

Issue 1177673005: Implement ShadowRoot.delegatesFocus 4/4 (match CSS :focus for shadow host) (Closed)

Created:
4 years, 10 months ago by kochi
Modified:
4 years, 10 months ago
Reviewers:
hayato
CC:
blink-reviews, arv+blink, vivekg, webcomponents-bugzilla_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, vivekg_samsung, Inactive, rwlbuis
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Implement ShadowRoot.delegatesFocus 4/4 (match CSS :focus for shadow host) This Implements CSS :focus pseudo style selector on shadow host to match when 1. focused element is descendant of its shadow root 2. its shadow root's delegatesFocus is true This depends on previous CLs. https://codereview.chromium.org/1174893002/ https://codereview.chromium.org/1174933002/ https://codereview.chromium.org/1177673004/ Design doc: https://docs.google.com/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit BUG=496005 TEST=fast/dom/shadow/* Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197104

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : split a layout test into 5 tests. #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : fix for comments, add a layout test #

Total comments: 4

Patch Set 6 : fix for comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1184 lines, -0 lines) Patch
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.html View 1 2 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1-expected.txt View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2-expected.txt View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html View 1 2 1 chunk +159 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3-expected.txt View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host4.html View 1 2 1 chunk +97 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host4-expected.txt View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html View 1 2 1 chunk +153 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5-expected.txt View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html View 1 chunk +137 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling-expected.txt View 1 chunk +41 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/focus-shadowhost-display-none.html View 1 chunk +73 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/focus-shadowhost-display-none-expected.txt View 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html View 1 2 3 4 5 1 chunk +66 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/focus-with-dom-mutation-expected.txt View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/dom/Node.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 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/1177673005/1
4 years, 10 months ago (2015-06-10 11:15:24 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-10 12:34:24 UTC) #4
kochi
PTAL This CL is ready for review.
4 years, 10 months ago (2015-06-11 06:19:57 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177673005/40001
4 years, 10 months ago (2015-06-11 08:48:51 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-11 10:10:33 UTC) #10
hayato
https://codereview.chromium.org/1177673005/diff/40001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/1177673005/diff/40001/Source/core/dom/ContainerNode.cpp#newcode1087 Source/core/dom/ContainerNode.cpp:1087: // Recurse up the shadow trees to mark shadow ...
4 years, 10 months ago (2015-06-12 04:37:57 UTC) #11
kochi
Thanks for the review! https://codereview.chromium.org/1177673005/diff/40001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/1177673005/diff/40001/Source/core/dom/ContainerNode.cpp#newcode1087 Source/core/dom/ContainerNode.cpp:1087: // Recurse up the shadow ...
4 years, 10 months ago (2015-06-12 07:34:17 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177673005/80001
4 years, 10 months ago (2015-06-12 07:34:33 UTC) #14
hayato
https://codereview.chromium.org/1177673005/diff/80001/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html File LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html (right): https://codereview.chromium.org/1177673005/diff/80001/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html#newcode28 LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html:28: createDOM('input', {id:'input'})), Nit: space is required after ':'. https://codereview.chromium.org/1177673005/diff/80001/Source/core/dom/ContainerNode.cpp ...
4 years, 10 months ago (2015-06-12 07:59:30 UTC) #15
kochi
https://codereview.chromium.org/1177673005/diff/80001/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html File LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html (right): https://codereview.chromium.org/1177673005/diff/80001/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html#newcode28 LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html:28: createDOM('input', {id:'input'})), On 2015/06/12 07:59:29, hayato wrote: > Nit: ...
4 years, 10 months ago (2015-06-12 08:21:35 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177673005/100001
4 years, 10 months ago (2015-06-12 08:21:52 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-12 09:42:11 UTC) #20
kochi
Ping?
4 years, 10 months ago (2015-06-15 06:36:20 UTC) #21
hayato
lgtm
4 years, 10 months ago (2015-06-15 06:45:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177673005/100001
4 years, 10 months ago (2015-06-15 06:49:39 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2015-06-15 09:13:53 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197104

Powered by Google App Engine
This is Rietveld 408576698