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 some of the items are indirect children of a reversed list.</p>
20 <ol id="list" reversed="reversed">
30 <li value="4">Four</li>
40 <div id="console"></div>