REGRESSION(r184899): Crash when focusing an input element styled with a web font
[WebKit-https.git] / LayoutTests / platform / mac / accessibility / list-items-ignored.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 <ul tabindex="0" id="list">
9
10 <li><div class="image thumb2160"><img src></div>
11 <span><div class="date"><script></script>Mar 7</div>
12 <a href="/">test</a><p class="blurb">test</p></span><div class="spacer"></div>
13 </li>
14
15 <li><div class="image thumb2160"><img src></div>
16 <span><div class="date"><script></script>Mar 7</div>
17 <a href="/">test</a><p class="blurb">test</p></span><div class="spacer"></div>
18 </li>
19
20 <li><div class="image thumb2160"><img src></div>
21 <span><div class="date"><script></script>Mar 7</div>
22 <a href="/">test</a><p class="blurb">test</p></span><div class="spacer"></div>
23 </li>
24
25
26 </ul>
27
28
29 <p id="description"></p>
30 <div id="console"></div>
31
32 <script>
33
34     description("This tests that list items will not be ignored as children of a list.");
35
36     if (window.accessibilityController) {
37
38         document.getElementById("list").focus();
39         var list = accessibilityController.focusedElement;
40
41         shouldBe("list.childrenCount", "3");
42     }
43
44 </script>
45
46 <script src="../../../resources/js-test-post.js"></script>
47 </body>
48 </html>