[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / aria-labeled-with-hidden-node.html
1 <!DOCTYPE html>
2 <html>
3 <title id="title">TITLE</title>
4 <head>
5 <script src="../resources/js-test-pre.js"></script>
6 <script src="../resources/accessibility-helper.js"></script>
7 </head>
8 <body>
9 <div id="content">
10 <button id="button" aria-labelledby="title">Go</button>
11 </div>
12
13 <p id="description"></p>
14 <div id="console"></div>
15
16 <script>
17     description("This tests that if try to use a non-rendered node as your labelledby element, it won't crash and it will work.");
18     
19     if (window.accessibilityController) {
20        var button = accessibilityController.accessibleElementById("button");
21        shouldBeEqualToString("platformValueForW3CName(button)", "TITLE");
22
23        document.getElementById("content").style.visibility = "hidden";
24     }
25 </script>
26
27 <script src="../resources/js-test-post.js"></script>
28 </body>
29 </html>