[a11y] Updates the bounds for sticky positioned nodes on scrolling
This CL introduces AddToFixedOrStickyNodeList and InvalidateBoundingBoxForFixedOrStickyPosition to AXObjectCacheImpl to update the bounds for fixed or sticky positioned nodes on scrolling. AXObjectCacheImpl owns |fixed_or_sticky_node_ids_|, updates when AX objects retrieve their relative bounds, and clears it when layout is completed. Once the scroll position is updated, it invalidates the bounds for the fixed or sticky positioned nodes by calling InvalidateBoundingBoxForFixedOrStickyPosition and ScrollPositionChanged event sends location changes to the browser. AX-Relnotes: n/a. Bug: 1027542 Change-Id: I29a6fd1584b64f0c597f44bdacda18e6540f6d63 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402928 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#807147}
Showing
Please register or sign in to comment