Chromium Code Reviews
DescriptionMove AX local bounding box calculation into LayoutObject
Minor refactoring. Now that we've successfully switched
to using relative bounding boxes in the accessibility tree,
it's cleaner to have AXObject call a single interface on
LayoutObject rather than calling different code depending
on the type of LayoutObject.
This will also help ensure this doesn't break the next
time the layout code is refactored.
This is covered by existing tests, in particular
accessibility/bounds-calc.html tests a few examples of each
of the four types of LayoutObject that need to implement
this method.
BUG=618120
Committed: https://crrev.com/64a061448438227cdd16d73d4d6944de6c5ddfd7
Cr-Commit-Position: refs/heads/master@{#417775}
Patch Set 1 #Patch Set 2 : Fix LayoutInline #Patch Set 3 : Rebase #Messages
Total messages: 14 (9 generated)
|