[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / legend-children-are-visible.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <div id="content">
9
10 <form>
11     <fieldset id="fieldset">
12         <legend>Not link <a href="http://www.apple.com">Link</a></legend>
13         <label for="green">Green</label>
14         <input type="radio" name="color" id="green">
15     </fieldset>
16 </form>
17
18 </div>
19
20 <p id="description"></p>
21 <div id="console"></div>
22
23 <script>
24
25     description("This tests that children of a <legend> will be visible to the AX hierarchy (so that in case a control element is inside, it can be reached)");
26
27     if (window.accessibilityController) {
28           var fieldset = accessibilityController.accessibleElementById("fieldset");
29           var legendChild1 = fieldset.childAtIndex(0);
30           var legendChild2 = fieldset.childAtIndex(1);
31           debug("fieldset description: " + fieldset.description);
32           debug("legend child 1: string value: " + legendChild1.stringValue);
33           debug("legend child 2: title: " + legendChild2.title);
34
35           document.getElementById("content").style.visibility = "hidden";
36     }
37
38 </script>
39
40 <script src="../resources/js-test-post.js"></script>
41 </body>
42 </html>