Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / aria-combobox-hierarchy.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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 id="body">
8 <div id="content">
9   <div id="combobox" tabindex="0" role="combobox" aria-expanded="True">
10     <div role="listbox">
11       <div role="option">option 1</div>
12       <div role="option">option 2</div>
13     </div>
14   </div>
15 </div>
16 <p id="description"></p>
17 <pre id="tree"></pre>
18 <div id="console"></div>
19 <script>
20     description("This verifies the accessibility tree of ARIA comboboxes.");
21     if (window.accessibilityController) {
22         var axCombobox = accessibilityController.accessibleElementById("combobox");
23         var stopElement = accessibilityController.accessibleElementById("stopElement");
24         dumpAccessibilityTree(axCombobox, stopElement, 0);
25         document.getElementById("content").style.visibility = "hidden";
26     }
27 </script>
28 <script src="../resources/js-test-post.js"></script>
29 </body>
30 </html>