Chromium Code Reviews
DescriptionAdd interface to get relative bounding box rect of AX objects.
Currently accessibility bounding box rects are absolute coordinates
within their frames. This means we have to recompute the bounding box
of every AX object when part of the page scrolls or animates.
To improve efficiency, this patch adds a new interface that returns
the relative bounds of an object, consisting of three pieces:
* Its "container" (an ancestor that scrolls or has a paint layer)
* Its bounding box relative to its container
* Optionally, its matrix transform relative to its container
This patch just implements the new interface and tests it.
Adds test_runner interfaces to access this interface at a
low level (relative bounds) and high level (computed bounds)
plus interfaces for accessing the scroll position.
This will be followed up with a patch to use this interface instead
throughout the rest of Chrome, and then delete the old interface.
BUG=618120
Committed: https://crrev.com/e51c64c415fe268350cb451e4678284ae5c8433f
Cr-Commit-Position: refs/heads/master@{#399230}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Remove incorrect dependent patchset #Patch Set 4 : Guard DCHECK #Patch Set 5 : Separate out one change that broke existing tests #
Total comments: 15
Patch Set 6 : Address feedback from aboxhall, add aria-owns test #Messages
Total messages: 20 (6 generated)
|