OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
4 | 4 |
5 <style> | 5 <style> |
6 .hideAllContainers .container { | 6 .hideAllContainers .container { |
7 display: none; | 7 display: none; |
8 } | 8 } |
9 </style> | 9 </style> |
10 | 10 |
11 <div id="link1" class="container" tabIndex=0 role="link"> | 11 <div id="link1" class="container" tabIndex=0 role="link"> |
12 <p>1</p> | 12 <p>1</p> |
13 <table> | 13 <table role="presentation"> |
14 <tr><td>2</td></tr> | 14 <tr><td>2</td></tr> |
15 <tr><td style="visibility: hidden">3</td></tr> | 15 <tr><td style="visibility: hidden">3</td></tr> |
16 <tr><td style="display:none">4</td></tr> | 16 <tr><td style="display:none">4</td></tr> |
17 <tr style="visibility: hidden"><td>5</td></tr> | 17 <tr style="visibility: hidden"><td>5</td></tr> |
18 <tr style="display: none"><td>6</td></tr> | 18 <tr style="display: none"><td>6</td></tr> |
19 </table> | 19 </table> |
20 <p>7</p> | 20 <p>7</p> |
21 </div> | 21 </div> |
22 | 22 |
23 <script> | 23 <script> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 test(function(t) { | 93 test(function(t) { |
94 var axInput4 = accessibilityController.accessibleElementById("input4"); | 94 var axInput4 = accessibilityController.accessibleElementById("input4"); |
95 assert_equals(axInput4.name, " 1 2 7 "); | 95 assert_equals(axInput4.name, " 1 2 7 "); |
96 }, "Visibility: 'hidden' and display: 'none' inside aria-labelledby label subtre
e, where entire label subtree is display: 'none'"); | 96 }, "Visibility: 'hidden' and display: 'none' inside aria-labelledby label subtre
e, where entire label subtree is display: 'none'"); |
97 </script> | 97 </script> |
98 | 98 |
99 <script> | 99 <script> |
100 if (window.testRunner) | 100 if (window.testRunner) |
101 document.body.className = "hideAllContainers"; | 101 document.body.className = "hideAllContainers"; |
102 </script> | 102 </script> |
OLD | NEW |