Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / native-listbox-no-selection.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 <select id="select" multiple="multiple">
8     <option>Option 1</option>
9     <option>Option 2</option>
10     <option>Option 3</option>
11 </select>
12 <p id="description"></p>
13 <div id="console"></div>
14 <script>
15     description("Tests that native listboxes with no selected children report no selected children.");
16     if (window.accessibilityController) {
17         var listbox = accessibilityController.accessibleElementById("select");
18         shouldBe("listbox.selectedChildrenCount", "0");
19         shouldBeTrue("listbox.selectedChildAtIndex(1) == null");
20 }
21
22 </script>
23
24 <script src="../resources/js-test-post.js"></script>
25 </body>
26 </html>