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

Issue 1862563002: Skip shadow hosts with negative tabindex in focus navigation (Closed)

Created:
4 years, 8 months ago by yuzuchan
Modified:
4 years, 8 months ago
Reviewers:
hayato, kochi
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip shadow hosts with negative tabindex in focus navigation This CL implements a new focus navigation behavior with negative index-ed shadow hosts; Shadow hosts with negative tabindex and their descendants are completely skipped. See the spec here: https://w3c.github.io/webcomponents/spec/shadow/#sequential-focus-navigation BUG=600621 Committed: https://crrev.com/891ceec45f09bcc6664ad1fcb0684e16f7a3d053 Cr-Commit-Position: refs/heads/master@{#385701}

Patch Set 1 #

Patch Set 2 : Keep V0 ShadowHost behavior #

Total comments: 2

Patch Set 3 : Add a test case #

Patch Set 4 : Refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -32 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/shadow/resources/shadow-dom.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/shadow-dom/focus-navigation-with-delegatesFocus.html View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/shadow-dom/focus-navigation-with-delegatesFocus-expected.txt View 1 2 chunks +4 lines, -12 lines 0 comments Download
A + third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html View 1 2 3 3 chunks +36 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/page/FocusController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
yuzuchan
PTAL This is how I feel about this patch: http://i.imgur.com/DZYEzgE.gif
4 years, 8 months ago (2016-04-05 06:58:39 UTC) #2
hayato
LGTM https://codereview.chromium.org/1862563002/diff/20001/third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html File third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html (right): https://codereview.chromium.org/1862563002/diff/20001/third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html#newcode38 third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html:38: <input id="ignored-input-in-shadow-host2" tabindex=2 value="ignored"> As we chatted offline, ...
4 years, 8 months ago (2016-04-05 08:53:06 UTC) #3
kochi
Looks this breaks existing layout tests. Could you take a look?
4 years, 8 months ago (2016-04-05 09:37:13 UTC) #4
yuzuchan
On 2016/04/05 at 09:37:13, kochi wrote: > Looks this breaks existing layout tests. > Could ...
4 years, 8 months ago (2016-04-05 09:50:50 UTC) #5
yuzuchan
This is how I feel about this patch: http://i.imgur.com/BDDnrYg.gif https://codereview.chromium.org/1862563002/diff/20001/third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html File third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html (right): https://codereview.chromium.org/1862563002/diff/20001/third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html#newcode38 third_party/WebKit/LayoutTests/shadow-dom/focus-with-negative-index.html:38: ...
4 years, 8 months ago (2016-04-05 09:52:00 UTC) #6
hayato
LGTM again. Thank you for updating!
4 years, 8 months ago (2016-04-06 05:58:20 UTC) #7
kochi
On 2016/04/05 09:50:50, yuzuchan wrote: > On 2016/04/05 at 09:37:13, kochi wrote: > > Looks ...
4 years, 8 months ago (2016-04-06 06:18:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862563002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862563002/60001
4 years, 8 months ago (2016-04-07 08:29:29 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-07 09:46:54 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 09:48:14 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/891ceec45f09bcc6664ad1fcb0684e16f7a3d053
Cr-Commit-Position: refs/heads/master@{#385701}

Powered by Google App Engine
This is Rietveld 408576698