Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / list-item-with-pseudo-element-crash.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <style>
6 .item:before {content:""; }
7 </style>
8 </head>
9 <body>
10 <ul id="list" style="display:none;">
11 <li id="item1" class="item" style="float:left;">Foo</li>
12 <li id="item2" class="item" style="text-transform:uppercase;">Bar</li>
13 </ul>
14 <p id="description"></p>
15 <div id="console"></div>
16 <script>
17 description("This verifies that list items with pseudo elements and styles do not trigger an assertion.");
18
19 if (window.testRunner && window.accessibilityController) {
20     var list = document.getElementById("list");
21     list.style.display = "";
22 }
23 </script>
24 <script src="../resources/js-test-post.js"></script>
25 </body>
26 </html>