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

Issue 2273373002: Ensure focus() gets called when navigating to text fields (Closed)

Created:
4 years, 3 months ago by David Tseng
Modified:
4 years, 3 months ago
Reviewers:
dmazzoni
CC:
aboxhall+watch_chromium.org, arv+watch_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, je_julie, nektar+watch_chromium.org, oshima+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure focus() gets called when navigating to text fields This was a recent regression. Logic was added to make a top level editable a container (so that navigation would descend into it). However, we were previously using the container predicate to decide whether or not to set focus; this prevents focus() on roots which sometimes triggered other side effects such as focusing a descendant. Make the focus precondition check the structuralContainer predicate instead. BUG=640587 TEST=chromevox_tests Committed: https://crrev.com/2063c5ec1c11f5b9823d8df8cbe647c5e9168c63 Cr-Commit-Position: refs/heads/master@{#414871}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
David Tseng
4 years, 3 months ago (2016-08-25 16:46:47 UTC) #5
David Tseng
Friendly pri 1 bug ping.
4 years, 3 months ago (2016-08-26 21:27:43 UTC) #10
dmazzoni
lgtm
4 years, 3 months ago (2016-08-26 22:30:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2273373002/1
4 years, 3 months ago (2016-08-26 22:34:33 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-27 00:10:45 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 00:14:35 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2063c5ec1c11f5b9823d8df8cbe647c5e9168c63
Cr-Commit-Position: refs/heads/master@{#414871}

Powered by Google App Engine
This is Rietveld 408576698