[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / aria-table-with-presentational-elements.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
7 <body id="body">
8
9 <div id="content">
10
11 <div role="grid" id="table">
12   <div role="presentational" aria-label="hello">
13      <div role="presentational" aria-haspopup="true">
14          <div role="row"> 
15              <div role="gridcell">hello</div>
16              <div role="gridcell">hello</div>
17              <div role="gridcell">hello</div>
18          </div>
19       </div>
20   </div>
21 </div>
22
23 </div>
24
25 <p id="description"></p>
26 <div id="console"></div>
27
28 <script>
29 description("This tests that in an aria table a row will report its parent as the table.");
30
31 if (window.accessibilityController) {
32     var table = accessibilityController.accessibleElementById("table");
33     var row = table.rowAtIndex(0);
34     shouldBe("row.role", "'AXRole: AXRow'");
35     shouldBe("row.parentElement().role", "'AXRole: AXTable'");
36
37     document.getElementById("content").style.visibility = "hidden";
38 }
39
40 </script>
41 <script src="../resources/js-test-post.js"></script>
42 </body>
43 </html>