Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / aria-multiselectable-grid.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 <div id="grid1" role="grid" tabindex="0"></div>
8 <div id="grid2" role="grid" aria-multiselectable="true" tabindex="0"></div>
9 <div id="grid3" role="grid" aria-multiselectable="false" tabindex="0"></div>
10 <p id="description"></p>
11 <div id="console"></div>
12 <script>
13     description("This tests that aria-multiselectable is exposed correctly for grids.");
14     if (window.accessibilityController) {
15         var gridMultiselectableUnspecified = accessibilityController.accessibleElementById("grid1");
16         shouldBe("gridMultiselectableUnspecified.isMultiSelectable", "true");
17
18         var gridMultiselectableTrue = accessibilityController.accessibleElementById("grid2");
19         shouldBe("gridMultiselectableTrue.isMultiSelectable", "true");
20
21         var gridMultiselectableFalse = accessibilityController.accessibleElementById("grid3");
22         shouldBe("gridMultiselectableFalse.isMultiSelectable", "false");
23     }
24
25 </script>
26
27 <script src="../resources/js-test-post.js"></script>
28 </body>
29 </html>