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

Issue 286143008: Make AX update layout on all frames (Closed)

Created:
6 years, 7 months ago by dmazzoni
Modified:
6 years, 7 months ago
Reviewers:
esprehn, dglazkov
CC:
blink-reviews
Visibility:
Public.

Description

Make AX update layout on all frames When updating layout before exploring the AX tree, do it on all frames. Relax the assertion in WebAXObject::boundingBoxRect so that it's okay if the lifecycle is StyleClean and needsLayout() is false. Also a bit of cleanup - the name "backing store", inherited from WebKit, doesn't make sense in this context - changed it to be more clear. BUG=374275 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174407

Patch Set 1 #

Patch Set 2 : Update layout on all frames, and allow StyleClean and not needsUpdate #

Patch Set 3 : Null-check topDocument().view() just in case #

Total comments: 2

Patch Set 4 : More strict assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -16 lines) Patch
M Source/core/accessibility/AXObject.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/accessibility/AXObject.cpp View 1 1 chunk +0 lines, -7 lines 0 comments Download
M Source/web/WebAXObject.cpp View 1 2 3 2 chunks +26 lines, -5 lines 0 comments Download
M public/web/WebAXObject.h View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
dmazzoni
6 years, 7 months ago (2014-05-16 17:06:58 UTC) #1
dglazkov
+esprehn
6 years, 7 months ago (2014-05-16 17:08:55 UTC) #2
esprehn
This isn't right, what is calling into boundingBoxRect() without calling updateLayout() first? That should update ...
6 years, 7 months ago (2014-05-16 17:13:41 UTC) #3
dmazzoni
Thanks for the explanation. We were calling updateLayout on the top document, but since the ...
6 years, 7 months ago (2014-05-16 17:19:11 UTC) #4
dmazzoni
I updated the change and the description. Ready for a fresh look.
6 years, 7 months ago (2014-05-16 21:25:02 UTC) #5
esprehn
lgtm, but that ASSERT needs to be more strict. https://codereview.chromium.org/286143008/diff/40001/Source/web/WebAXObject.cpp File Source/web/WebAXObject.cpp (right): https://codereview.chromium.org/286143008/diff/40001/Source/web/WebAXObject.cpp#newcode553 Source/web/WebAXObject.cpp:553: ...
6 years, 7 months ago (2014-05-19 22:13:18 UTC) #6
dmazzoni
https://codereview.chromium.org/286143008/diff/40001/Source/web/WebAXObject.cpp File Source/web/WebAXObject.cpp (right): https://codereview.chromium.org/286143008/diff/40001/Source/web/WebAXObject.cpp#newcode553 Source/web/WebAXObject.cpp:553: || (document->lifecycle().state() >= DocumentLifecycle::StyleClean && !document->view()->needsLayout()); On 2014/05/19 22:13:19, ...
6 years, 7 months ago (2014-05-20 18:33:52 UTC) #7
dglazkov
lgtm
6 years, 7 months ago (2014-05-20 18:35:11 UTC) #8
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 7 months ago (2014-05-20 18:36:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/286143008/50001
6 years, 7 months ago (2014-05-20 18:36:29 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 20:07:09 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 21:06:59 UTC) #12
Message was sent while issue was closed.
Change committed as 174407

Powered by Google App Engine
This is Rietveld 408576698