Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Side by Side Diff: LayoutTests/accessibility/table-header-column-row.html

Issue 846013002: Use rowgroup and columgroup properties to expose table headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated expectation result file Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/accessibility/table-header-column-row-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script src="../resources/js-test.js"></script> 1 <script src="../resources/js-test.js"></script>
2 <table width="50%" border="1"> 2 <table width="50%" border="1">
3 <caption> 3 <caption>
4 scope test 4 scope test
5 </caption> 5 </caption>
6 <tr> 6 <tr>
7 <th scope="col">col head</th> 7 <th scope="col">col head</th>
8 <th scope="row">row head</th> 8 <th scope="row">row head</th>
9 <th>col head</th> 9 <th>col head</th>
10 </tr> 10 </tr>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 <th>column head</th> 52 <th>column head</th>
53 <th>column head</th> 53 <th>column head</th>
54 <th>column head</th> 54 <th>column head</th>
55 </tr> 55 </tr>
56 <tr> 56 <tr>
57 <td>data</td> 57 <td>data</td>
58 <td>data</td> 58 <td>data</td>
59 <td>data</td> 59 <td>data</td>
60 </tr> 60 </tr>
61 </table> 61 </table>
62 <table width="50%" border="1">
63 <caption>
64 row header and column header (3)
65 <caption>
66 <col>
67 <colgroup span="2"></colgroup>
68 <tr>
69 <td rowspan="2"></td>
70 <th colspan="2" scope="colgroup">col head</th>
71 </tr>
72 <tr>
73 <th scope="col">col head</th>
74 <th scope="col">col head</th>
75 </tr>
76 <tr>
77 <th scope="row">row head</th>
78 <td>data</td>
79 <td>data</td>
80 </tr>
81 </table>
82 <table width="50%" border="1">
83 <caption>
84 row header and column header (4)
85 <caption>
86 <tr>
87 <th rowspan="2" scope="rowgroup">row head</th>
88 <th scope="col">col head</th>
89 </tr>
90 <tr>
91 <th scope="row">row head</th>
92 </tr>
93 </table>
62 <p>End of test</p> 94 <p>End of test</p>
63 <p id="description"></p> 95 <p id="description"></p>
64 <div id="console"></div> 96 <div id="console"></div>
65 <script> 97 <script>
66 description("This tests that AXRoles for header cells are assigned."); 98 description("This tests that AXRoles for header cells are assigned.");
67 99
68 if (window.testRunner) 100 if (window.testRunner)
69 testRunner.dumpAsText(); 101 testRunner.dumpAsText();
70 102
71 function buildAccessibilityTree(accessibilityObject, indent) { 103 function buildAccessibilityTree(accessibilityObject, indent) {
(...skipping 21 matching lines...) Expand all
93 } 125 }
94 126
95 return true; 127 return true;
96 } 128 }
97 129
98 if (window.accessibilityController) { 130 if (window.accessibilityController) {
99 var body = accessibilityController.focusedElement; 131 var body = accessibilityController.focusedElement;
100 buildAccessibilityTree(body, 0); 132 buildAccessibilityTree(body, 0);
101 } 133 }
102 </script> 134 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/table-header-column-row-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698