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

Issue 665513002: Fix Android hit testing in a totally static page. (Closed)

Created:
6 years, 2 months ago by dmazzoni
Modified:
6 years, 2 months ago
Reviewers:
aboxhall
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@iframe_no_bam
Project:
chromium
Visibility:
Public.

Description

Fix Android hit testing in a totally static page. Our Android hit testing walks up the tree and returns the highest ancestor that's either (1) a leaf node, or (2) focusable and doesn't have focusable children. The bug is that (2) shouldn't include the root element of the tree, which is indeed focusable. If there are no focusable elements on the page, we don't want all hit tests to return the root - we want them to return the original object hit. BUG=424350 Committed: https://crrev.com/b46a0cf36cb6eaee8bd8bae17ceb227a5bb8ad92 Cr-Commit-Position: refs/heads/master@{#300007}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/browser/accessibility/browser_accessibility_manager_android.cc View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 8 (2 generated)
dmazzoni
6 years, 2 months ago (2014-10-16 21:21:54 UTC) #2
aboxhall
lgtm https://codereview.chromium.org/665513002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/665513002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode419 content/browser/accessibility/browser_accessibility_manager_android.cc:419: while (ancestor && ancestor != GetRoot()) { Would ...
6 years, 2 months ago (2014-10-16 21:33:34 UTC) #3
dmazzoni
https://codereview.chromium.org/665513002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc File content/browser/accessibility/browser_accessibility_manager_android.cc (right): https://codereview.chromium.org/665513002/diff/1/content/browser/accessibility/browser_accessibility_manager_android.cc#newcode419 content/browser/accessibility/browser_accessibility_manager_android.cc:419: while (ancestor && ancestor != GetRoot()) { On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 21:47:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665513002/1
6 years, 2 months ago (2014-10-16 21:48:33 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-16 23:32:12 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 23:32:59 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b46a0cf36cb6eaee8bd8bae17ceb227a5bb8ad92
Cr-Commit-Position: refs/heads/master@{#300007}

Powered by Google App Engine
This is Rietveld 408576698