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

Issue 1840333002: Support slots' fallback contents in focus navigation (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

Support slots' fallback contents in focus navigation This CL implements slots' fallback contents in focus navigation. That is, if a focus hits a slot without any assigned nodes, it traverses the slot's children as its fallback contents. See the spec here: https://w3c.github.io/webcomponents/spec/shadow/#sequential-focus-navigation BUG=595285 Committed: https://crrev.com/7d503c6b674b0a2e9e5059edd89b52b5412f20ec Cr-Commit-Position: refs/heads/master@{#384540}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Add testcases and debug #

Total comments: 6

Patch Set 3 : Refactor #

Total comments: 4

Patch Set 4 : Refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -19 lines) Patch
A third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html View 1 1 chunk +70 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/FocusController.cpp View 1 2 3 11 chunks +74 lines, -19 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
yuzuchan
PTAL
4 years, 8 months ago (2016-03-30 03:01:57 UTC) #2
kochi
On 2016/03/30 03:01:57, yuzuchan wrote: > PTAL Thanks, I'll take a look. The spec is ...
4 years, 8 months ago (2016-03-30 03:41:32 UTC) #3
yuzuchan
On 2016/03/30 at 03:41:32, kochi wrote: > On 2016/03/30 03:01:57, yuzuchan wrote: > > PTAL ...
4 years, 8 months ago (2016-03-30 04:45:16 UTC) #5
kochi
Overall the code look good. Let's iterate on it. https://codereview.chromium.org/1840333002/diff/1/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html File third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html (right): https://codereview.chromium.org/1840333002/diff/1/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html#newcode31 third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html:31: ...
4 years, 8 months ago (2016-03-30 06:28:34 UTC) #6
yuzuchan
PTAL https://codereview.chromium.org/1840333002/diff/1/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html File third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html (right): https://codereview.chromium.org/1840333002/diff/1/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html#newcode31 third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html:31: </div> On 2016/03/30 at 06:28:33, kochi wrote: > ...
4 years, 8 months ago (2016-03-31 07:03:47 UTC) #7
hayato
https://codereview.chromium.org/1840333002/diff/20001/third_party/WebKit/Source/core/page/FocusController.cpp File third_party/WebKit/Source/core/page/FocusController.cpp (right): https://codereview.chromium.org/1840333002/diff/20001/third_party/WebKit/Source/core/page/FocusController.cpp#newcode130 third_party/WebKit/Source/core/page/FocusController.cpp:130: if (m_slotFallbackTraversal) { I am afraid that the responsibilities ...
4 years, 8 months ago (2016-03-31 09:45:02 UTC) #8
yuzuchan
PTAL This is how I feel about this patch: http://i.imgur.com/PaijGaC.gif http://i.imgur.com/N7oh7Um.gif http://i.imgur.com/s0l0hHR.gif https://codereview.chromium.org/1840333002/diff/20001/third_party/WebKit/Source/core/page/FocusController.cpp File third_party/WebKit/Source/core/page/FocusController.cpp ...
4 years, 8 months ago (2016-04-01 04:05:13 UTC) #9
hayato
lgtm This is how I feel about this patch: http://i.imgur.com/Kj7ESBN.gif https://codereview.chromium.org/1840333002/diff/40001/third_party/WebKit/Source/core/page/FocusController.cpp File third_party/WebKit/Source/core/page/FocusController.cpp (right): https://codereview.chromium.org/1840333002/diff/40001/third_party/WebKit/Source/core/page/FocusController.cpp#newcode300 ...
4 years, 8 months ago (2016-04-01 05:45:34 UTC) #10
kochi
lgtm https://codereview.chromium.org/1840333002/diff/1/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html File third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html (right): https://codereview.chromium.org/1840333002/diff/1/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html#newcode31 third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html:31: </div> On 2016/03/31 07:03:46, yuzuchan wrote: > On ...
4 years, 8 months ago (2016-04-01 06:10:59 UTC) #11
yuzuchan
This is how I feel about this patch: http://i.imgur.com/RMFAEcM.gif https://codereview.chromium.org/1840333002/diff/40001/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html File third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html (right): https://codereview.chromium.org/1840333002/diff/40001/third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html#newcode66 third_party/WebKit/LayoutTests/shadow-dom/slot-fallback-focus.html:66: ...
4 years, 8 months ago (2016-04-01 06:26:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1840333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1840333002/60001
4 years, 8 months ago (2016-04-01 06:27:27 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-01 10:36:24 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 10:37:27 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7d503c6b674b0a2e9e5059edd89b52b5412f20ec
Cr-Commit-Position: refs/heads/master@{#384540}

Powered by Google App Engine
This is Rietveld 408576698