Git init
[framework/web/webkit-efl.git] / LayoutTests / fast / lists / li-values.html
1 <script src="resources/dump-list.js"></script>
2 <script>
3
4 function finishTest()
5 {
6     document.getElementById("removeMyValue").removeAttribute("value");
7     filterListsWithReplacement(document.querySelectorAll("ol"));
8     if (window.layoutTestController)
9         layoutTestController.notifyDone();
10 }
11
12 function init()
13 {
14     if (window.layoutTestController) {
15         layoutTestController.dumpAsText();
16         layoutTestController.waitUntilDone();
17     }
18     setTimeout(finishTest, 0);
19 }
20
21 </script>
22
23 <body onload="init()">
24 <ol>
25     <li value="4" id="removeMyValue">The list marker should show 1 because this item had a value of 4 but it was removed.</li>
26     <li value="0">The list marker should show 2 even though this item has a value of 0.</li>
27     <li value="-1">The list marker should show 3 even though this item has a value of -1.</li>
28 </ol>
29 </body>