[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / text-alternative-calculation-hidden-nodes.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <script src="../resources/accessibility-helper.js"></script>
6 </head>
7 <body>
8 <div id="content">
9   <div id="hidden1" style="visibility:hidden;">foo</div>
10   <div id="hidden2" style="display:none;">bar</div>
11
12   <input id="test1" aria-labelledby="hidden1">
13   <input id="test2" aria-describedby="hidden2">
14
15   <label for="test3" id="hidden3" style="display:none;">baz</label>
16   <input id="test3">
17
18   <table id="table">
19     <tr>
20       <td>cell 1</td>
21       <td style="visibility:hidden;">cell 2</td>
22       <td><div style="display:none;"><div>cell 3</div></td>
23       <td><div>cell 4</div></td>
24     </tr>
25   </table>
26   <input id="test4" aria-labelledby="table">
27   <input id="test5" aria-describedby="table">
28 </div>
29
30 <p id="description"></p>
31 <div id="console"></div>
32
33 <script>
34     description("This tests text alternative calculation with hidden nodes.");
35
36     if (window.accessibilityController) {
37         for (var i = 1; i <= 5; i++) {
38             var axElement = accessibilityController.accessibleElementById("test" + i);
39             debug("Test " + i);
40             debug("\tW3C Name: " + platformValueForW3CName(axElement));
41             debug("\tW3C Description: " + platformValueForW3CDescription(axElement));
42          }
43        document.getElementById("content").style.visibility = "hidden";
44        document.getElementById("table").style.visibility = "hidden";
45     }
46 </script>
47
48 <script src="../resources/js-test-post.js"></script>
49 </body>
50 </html>