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

Issue 1718153002: Implement 'sequential focus navigation starting point.' (Closed)

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

Description

Implement 'sequential focus navigation starting point.' This CL implements sequential focus navigation starting point. https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus-navigation-starting-point Behavior Change: When TAB or Shift-TAB is pressed and there is not focused element, we start searching for next focus candidates at the sequential focus navigation point. - If a navigation to a url with fragment identifier happened, an element pointed by the fragment is set as sequential focus navigation starting point. - If an element is focused, the element is set as sequential focus navigation starting point. - If a mouse button is pressed, an element on the mouse pointer is set as sequential focus navigation starting point. If the element pointed by sequential focus navigation starting point is removed from the document tree, a point where there was the element at would be the starting point. Implementation: Sequential focus navigation starting point is represented as a Range object, and it is owned by a Document. Tests: * fast/events/sequential-focus-navigation-starting-point.html Added. * fast/events/frame-tab-focus.html, fast/html/tab-order.html, and svg/custom/ tabindex-order.html Expectations are updated because element.blur() doesn't reset sequential focus navigation starting point. BUG=454172 Committed: https://crrev.com/8870612f01ca55a123efbd7bf7024b236d6c12a6 Cr-Commit-Position: refs/heads/master@{#376949}

Patch Set 1 : #

Patch Set 2 : Speculative fix for non-oilpan test failures #

Patch Set 3 : Actual fix for non-oilpan test failures #

Total comments: 1

Messages

Total messages: 18 (9 generated)
tkent
kochi@, would you review this please? Try bots are going to be green.
4 years, 10 months ago (2016-02-23 02:07:21 UTC) #7
tkent
I confirmed Patch Set 3 fixed linux_oilpan_rel test failures.
4 years, 10 months ago (2016-02-23 06:59:06 UTC) #8
kochi
LGTM
4 years, 10 months ago (2016-02-23 07:01:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718153002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718153002/100001
4 years, 10 months ago (2016-02-23 08:09:25 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 10 months ago (2016-02-23 08:15:38 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8870612f01ca55a123efbd7bf7024b236d6c12a6 Cr-Commit-Position: refs/heads/master@{#376949}
4 years, 10 months ago (2016-02-23 08:17:36 UTC) #14
sof
The addition of m_sequentialFocusNavigationStartingPoint clearing in Document::dispose() fixed almost all non-Oilpan leaks, but a few ...
4 years, 10 months ago (2016-02-25 12:49:54 UTC) #16
sof
On 2016/02/25 12:49:54, sof wrote: > The addition of m_sequentialFocusNavigationStartingPoint clearing in > Document::dispose() fixed ...
4 years, 10 months ago (2016-02-25 18:28:55 UTC) #17
tkent
4 years, 10 months ago (2016-02-25 22:49:07 UTC) #18
Message was sent while issue was closed.
On 2016/02/25 at 12:49:54, sigbjornf wrote:
> The addition of m_sequentialFocusNavigationStartingPoint clearing in
Document::dispose() fixed almost all non-Oilpan leaks, but a few remains:
> 
> 
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20non-Oi...
> 
> To fix these I had to add an "is Document detached" check to
Document::setSequentialFocusNavigationStartingPoint()

You're right.  Thank you for fixing it.

Powered by Google App Engine
This is Rietveld 408576698