upload webkit/tizen 2.0_beta source.
[framework/web/webkit-efl.git] / LayoutTests / fast / lists / ol-nested-items.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 some of the items are indirect children of the list element.</p>
20         <ol id="list">
21             <li>One</li>
22             <li>Two</li>
23             <li>Three</li>
24             <li>Four
25                 <b>
26                     <li>Five</li>
27                     <li>Six</li>
28                 </b>
29             </li>
30             <li value="10">Ten</li>
31             <li>Eleven</li>
32             <div>
33                 <li>Twelve</li>
34                 <li>Thirteen</li>
35             </div>
36             <li>Fourteen</li>
37             <li>Fifteen</li>
38         </ol>
39
40         <div id="console"></div>
41     </body>
42 </html>