Commit dc6a105a authored by k.czech's avatar k.czech Committed by Commit bot

Update test result after crrev.com/914233002

Blink's CL changes approach of colspan's calculating.
Calculation is based on effective columns's conversion.
Malformed colspan such as <table><tr><td colspan="10"></td><th></th></tr></table>
now is calculated as {0, 1} not {0, 10}
Update also a test case so that we could check valid colspans.

BUG=457687

Review URL: https://codereview.chromium.org/956803003

Cr-Commit-Position: refs/heads/master@{#318267}
parent 4a0cac25
...@@ -1132,10 +1132,7 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, ...@@ -1132,10 +1132,7 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
RunHtmlTest(FILE_PATH_LITERAL("table-thead-tbody-tfoot.html")); RunHtmlTest(FILE_PATH_LITERAL("table-thead-tbody-tfoot.html"));
} }
// crbug.com/457687 will correct ColumnIndexRange IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTableSpans) {
// Rebaseline after Blink's change goes in
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
DISABLED_AccessibilityTableSpans) {
RunHtmlTest(FILE_PATH_LITERAL("table-spans.html")); RunHtmlTest(FILE_PATH_LITERAL("table-spans.html"));
} }
......
...@@ -3,11 +3,26 @@ AXWebArea AXTitle='Table example with rowspan and colspan' ...@@ -3,11 +3,26 @@ AXWebArea AXTitle='Table example with rowspan and colspan'
++++AXRow AXIndex='0' ++++AXRow AXIndex='0'
++++++AXCell AXColumnIndexRange={"len":1,"loc":0} AXRowIndexRange={"len":2,"loc":0} ++++++AXCell AXColumnIndexRange={"len":1,"loc":0} AXRowIndexRange={"len":2,"loc":0}
++++++++AXStaticText AXValue='AD' ++++++++AXStaticText AXValue='AD'
++++++AXCell AXColumnIndexRange={"len":1,"loc":1} AXRowIndexRange={"len":1,"loc":0}
++++++++AXStaticText AXValue='BC'
++++AXRow AXIndex='1'
++++++AXCell AXColumnIndexRange={"len":1,"loc":1} AXRowIndexRange={"len":1,"loc":1}
++++++++AXStaticText AXValue='EF'
++++AXColumn AXIndex='0'
++++AXColumn AXIndex='1'
++++AXGroup
++AXTable
++++AXRow AXIndex='0'
++++++AXCell AXColumnIndexRange={"len":1,"loc":0} AXRowIndexRange={"len":2,"loc":0}
++++++++AXStaticText AXValue='AD'
++++++AXCell AXColumnIndexRange={"len":2,"loc":1} AXRowIndexRange={"len":1,"loc":0} ++++++AXCell AXColumnIndexRange={"len":2,"loc":1} AXRowIndexRange={"len":1,"loc":0}
++++++++AXStaticText AXValue='BC' ++++++++AXStaticText AXValue='BC'
++++AXRow AXIndex='1' ++++AXRow AXIndex='1'
++++++AXCell AXColumnIndexRange={"len":2,"loc":1} AXRowIndexRange={"len":1,"loc":1} ++++++AXCell AXColumnIndexRange={"len":1,"loc":1} AXRowIndexRange={"len":1,"loc":1}
++++++++AXStaticText AXValue='EF' ++++++++AXStaticText AXValue='EF'
++++++AXCell AXColumnIndexRange={"len":1,"loc":2} AXRowIndexRange={"len":1,"loc":1}
++++++++AXStaticText AXValue='GH'
++++AXColumn AXIndex='0' ++++AXColumn AXIndex='0'
++++AXColumn AXIndex='1' ++++AXColumn AXIndex='1'
++++AXColumn AXIndex='2'
++++AXGroup ++++AXGroup
...@@ -19,6 +19,16 @@ ...@@ -19,6 +19,16 @@
<td colspan="2">EF</td> <td colspan="2">EF</td>
</tr> </tr>
</table> </table>
<table border=1>
<tr>
<td rowspan="2">AD</td>
<td colspan="2">BC</td>
</tr>
<tr>
<td>EF</td>
<td>GH</td>
</tr>
</table>
</body> </body>
</html> </html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment