3 <script src="resources/dump-list.js"></script>
7 if (window.layoutTestController)
8 layoutTestController.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);
18 <body onload="test()">
19 <p>This tests that list items are properly marked when a reversed list contains nested lists.</p>
20 <ol id="list" start="10" reversed>
41 <div id="console"></div>