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

Issue 401643003: Correctly update the bounds of objects in the accessibility tree. (Closed)

Created:
6 years, 5 months ago by dmazzoni
Modified:
6 years, 4 months ago
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
Project:
chromium
Visibility:
Public.

Description

Correctly update the bounds of objects in the accessibility tree. Fixes regression that happened when moving to the new AXTree code. Improves on it by only sending location changes when there's an AXLayoutChanged event, since that will always be fired when there's a layout and objects might have moved. To make it testable, adds a new feature to DumpAccessibilityTree tests where you can make it wait until a certain magic string appears in the dump before the dump is diffed with the expectation. In this test, we start a CSS transition that animates changing a button's size, and make sure the final dump reflects the final size. BUG=268296 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285174

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Update win and android expectations #

Total comments: 8

Patch Set 5 : Address feedback #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -24 lines) Patch
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 5 5 chunks +63 lines, -17 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.cc View 1 2 3 4 5 4 chunks +24 lines, -5 lines 0 comments Download
M content/test/accessibility_browser_test_utils.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/test/accessibility_browser_test_utils.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
A content/test/data/accessibility/transition.html View 1 chunk +58 lines, -0 lines 0 comments Download
A content/test/data/accessibility/transition-expected-android.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/transition-expected-mac.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/transition-expected-win.txt View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmazzoni
6 years, 5 months ago (2014-07-18 15:35:51 UTC) #1
dmazzoni
+phajdan.jr for content/test
6 years, 5 months ago (2014-07-18 23:41:18 UTC) #2
aboxhall
lgtm https://codereview.chromium.org/401643003/diff/60001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc File content/browser/accessibility/dump_accessibility_tree_browsertest.cc (right): https://codereview.chromium.org/401643003/diff/60001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc#newcode238 content/browser/accessibility/dump_accessibility_tree_browsertest.cc:238: if (wait_for.empty()) This if statement is redundant with ...
6 years, 5 months ago (2014-07-19 15:08:05 UTC) #3
dmazzoni
https://codereview.chromium.org/401643003/diff/60001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc File content/browser/accessibility/dump_accessibility_tree_browsertest.cc (right): https://codereview.chromium.org/401643003/diff/60001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc#newcode238 content/browser/accessibility/dump_accessibility_tree_browsertest.cc:238: if (wait_for.empty()) On 2014/07/19 15:08:05, aboxhall wrote: > This ...
6 years, 5 months ago (2014-07-20 04:24:17 UTC) #4
aboxhall
lgtm https://codereview.chromium.org/401643003/diff/60001/content/renderer/accessibility/renderer_accessibility_complete.cc File content/renderer/accessibility/renderer_accessibility_complete.cc (right): https://codereview.chromium.org/401643003/diff/60001/content/renderer/accessibility/renderer_accessibility_complete.cc#newcode175 content/renderer/accessibility/renderer_accessibility_complete.cc:175: bool had_layout_complete_messages = false; On 2014/07/20 04:24:17, dmazzoni ...
6 years, 5 months ago (2014-07-21 01:33:47 UTC) #5
dmazzoni
+jcivelli for content/test ???
6 years, 5 months ago (2014-07-22 21:07:42 UTC) #6
Paweł Hajdan Jr.
LGTM
6 years, 5 months ago (2014-07-23 10:36:51 UTC) #7
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 5 months ago (2014-07-23 14:08:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/401643003/80001
6 years, 5 months ago (2014-07-23 14:10:04 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 14:28:11 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 14:30:10 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/29854)
6 years, 5 months ago (2014-07-23 14:30:11 UTC) #12
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 4 months ago (2014-07-24 06:38:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/401643003/100001
6 years, 4 months ago (2014-07-24 06:40:59 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-07-24 10:41:20 UTC) #15
Message was sent while issue was closed.
Change committed as 285174

Powered by Google App Engine
This is Rietveld 408576698