Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / lists / ol-nested-list.html
bloba0528ac7e5457aa30b2d051f59832373cd9bbd6d
1 <html>
2 <head>
3 <script src="resources/dump-list.js"></script>
4 <script>
5 function test()
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 var list = document.getElementById("list");
11 document.getElementById("console").innerHTML = dumpList(list);
13 // Don't show the actual list as it is useless in the text-only mode.
14 list.parentNode.removeChild(list);
16 </script>
17 </head>
18 <body onload="test()">
19 <p>This tests that list items are properly marked when the list contains nested lists.</p>
20 <ol id="list" start="10">
21 <li>Ten</li>
22 <li>Eleven</li>
23 <li>Twelve</li>
24 <li>Thirteen
25 <ul>
26 <li>One</li>
27 <li>Two</li>
28 </ul>
29 </li>
30 <li>Fourteen</li>
31 <li>Fifteen</li>
32 <ol>
33 <li>One</li>
34 <li>Two</li>
35 </ol>
36 <li>Sixteen</li>
37 <li>Seventeen</li>
38 </ol>
40 <div id="console"></div>
41 </body>
42 </html>