|
|
Switch all LayoutTests to use new accessibility relative bounding box API.
This change switches test_runner to use only the new relative bounding box
API to get bounding boxes of accessibility elements.
I made a few fixes in order to get existing tests to pass:
* Support explicit element rects inside a canvas
* Implement bounding boxes for inline text boxes
* Bounding box for LayoutText needs to clip to ellipses
* Bounding box for LayoutInline needs to include continuations
The next step will be to switch Chrome to use the new API, then we can
delete the old bounding box code from blink.
BUG= 618120
Committed: https://crrev.com/ff627eb09af66b38346b18b03591e07ae9e0f41a
Cr-Commit-Position: refs/heads/master@{#409079}
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+195 lines, -46 lines) |
Patch |
 |
M |
components/test_runner/web_ax_object_proxy.cc
|
View
|
1
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/bounds-calc.html
|
View
|
|
2 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/dimensions-include-descendants.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/draw-focus-if-needed.html
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/draw-focus-if-needed-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/svg-bounds.html
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/accessibility/svg-bounds-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-accessibility-test.html
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-accessibility-test-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/AXObjectCache.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutText.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutText.cpp
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
View
|
1
2
3
4
|
5 chunks |
+33 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
|
View
|
1
2
3
|
2 chunks |
+61 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXObject.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/geometry/FloatRect.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 36 (27 generated)
|