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

Issue 1174893002: Implement ShadowRoot.delegatesFocus 1/4 (focus navigation) (Closed)

Created:
5 years, 6 months ago by kochi
Modified:
5 years, 6 months ago
Reviewers:
tkent, 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 1/4 (focus navigation) This Implements 'delegatesFocus' for ShadowRoot. When delegatesFocus is set to true for a shadow root, its shadow host delegates focusing behavior to its internal focusable element. Note: this almost corresponds to old implementation (tabStop), except that when delegatesFocus = true, the shadow host becomes focusable regardless of whether tabindex attribute is set or not. Remaining implementations will follow: 2/4 Slide focus on mouse click 3/4 Slide focus on focus() method 4/4 Match CSS :focus for shadow host Design doc: https://docs.google.com/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit BUG=496005 TEST=fast/dom/shadow/focus-navigation-with-delegatesFocus.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196919

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : fix for nit review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -4 lines) Patch
A LayoutTests/fast/dom/shadow/focus-navigation-with-delegatesFocus.html View 1 chunk +183 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/focus-navigation-with-delegatesFocus-expected.txt View 1 chunk +105 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/shadow/resources/shadow-dom.js View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M Source/core/dom/shadow/ShadowRoot.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/dom/shadow/ShadowRoot.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/shadow/ShadowRoot.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/shadow/ShadowRootInit.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/FocusController.cpp View 5 chunks +19 lines, -2 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (12 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/1174893002/1
5 years, 6 months ago (2015-06-10 09:06:55 UTC) #2
kochi
PTAL
5 years, 6 months ago (2015-06-10 09:15:30 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-10 10:19:30 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/1174893002/20001
5 years, 6 months ago (2015-06-11 01:59:36 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/66098)
5 years, 6 months ago (2015-06-11 02:52:20 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1174893002/20001
5 years, 6 months ago (2015-06-11 04:06:21 UTC) #12
hayato
lgtm
5 years, 6 months ago (2015-06-11 04:24:24 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-11 05:29:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1174893002/20001
5 years, 6 months ago (2015-06-11 05:31:35 UTC) #17
kochi
tkent-san, Could you review for Source/platform/RuntimeEnabledFeatures.in?
5 years, 6 months ago (2015-06-11 05:35:25 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/35115)
5 years, 6 months ago (2015-06-11 05:37:45 UTC) #21
tkent
lgtm https://codereview.chromium.org/1174893002/diff/20001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/1174893002/diff/20001/Source/core/dom/Element.cpp#newcode1822 Source/core/dom/Element.cpp:1822: return PassRefPtrWillBeRawPtr<ShadowRoot>(shadowRoot); nit: return shadowRoot.release();
5 years, 6 months ago (2015-06-11 05:38:27 UTC) #22
kochi
Thanks for the review! https://codereview.chromium.org/1174893002/diff/20001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/1174893002/diff/20001/Source/core/dom/Element.cpp#newcode1822 Source/core/dom/Element.cpp:1822: return PassRefPtrWillBeRawPtr<ShadowRoot>(shadowRoot); On 2015/06/11 05:38:27, ...
5 years, 6 months ago (2015-06-11 05:44:23 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1174893002/40001
5 years, 6 months ago (2015-06-11 05:44:56 UTC) #26
commit-bot: I haz the power
5 years, 6 months ago (2015-06-11 07:01:20 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196919

Powered by Google App Engine
This is Rietveld 408576698