upload webkit/tizen 2.0_beta source.
[framework/web/webkit-efl.git] / LayoutTests / fast / lists / ol-nested-list.html
1 <html>
2     <head>
3         <script src="resources/dump-list.js"></script>
4         <script>
5             function test()
6             {
7                 if (window.layoutTestController)
8                     layoutTestController.dumpAsText();
9
10                 var list = document.getElementById("list");
11                 document.getElementById("console").innerHTML = dumpList(list);
12
13                 // Don't show the actual list as it is useless in the text-only mode.
14                 list.parentNode.removeChild(list);
15             }
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>
39
40         <div id="console"></div>
41     </body>
42 </html>