1 <script src=
"resources/dump-list.js"></script>
6 document
.getElementById("removeMyValue").removeAttribute("value");
7 document
.getElementById("changeMyValue").setAttribute("value", "-5");
8 filterListsWithReplacement(document
.querySelectorAll("ol"));
10 testRunner
.notifyDone();
15 if (window
.testRunner
) {
16 testRunner
.dumpAsText();
17 testRunner
.waitUntilDone();
19 setTimeout(finishTest
, 0);
24 <body onload=
"init()">
26 <li value=
"4" id=
"removeMyValue">The list marker should show
1 because this item had a value of
4 but it was removed.
</li>
27 <li value=
"-1">The list marker should show -
1 (negative values are allowed).
</li>
28 <li>The list marker should show
0.
</li>
29 <li value=
"invalid">The list marker should show
1 (invalid values are ignored).
</li>
30 <li value=
"2" id=
"changeMyValue">The list marker should show -
5 (updated programmatically).
</li>
31 <li value=
"-1" style=
"list-style-type: korean-hangul-formal;">The list marker should show -
1 (negative values are allowed).
</li>
33 <!-- For the following styles the values are out-of-range, and should fall-back to decimal -->
34 <li value=
"-1" style=
"list-style-type: hebrew;">The list marker should fall back to decimal -
1 (hebrew:
1-infinite).
</li>
35 <li value=
"0" style=
"list-style-type: simple-upper-roman;">The list marker should fall back to decimal
0 (simple-upper-roman:
1-
4999).
</li>
36 <li value=
"0" style=
"list-style-type: simple-lower-roman;">The list marker should fall back to decimal
0 (simple-lower-roman:
1-
4999).
</li>
37 <li value=
"0" style=
"list-style-type: upper-roman;">The list marker should fall back to decimal
0 (upper-roman:
1-
4999).
</li>
38 <li value=
"0" style=
"list-style-type: lower-roman;">The list marker should fall back to decimal
0 (lower-roman:
1-
4999).
</li>
39 <li value=
"0" style=
"list-style-type: lower-armenian;">The list marker should fall back to decimal
0 (lower-armenian:
1-
9999).
</li>
40 <li value=
"0" style=
"list-style-type: upper-armenian;">The list marker should fall back to decimal
0 (upper-armenian:
1-
9999).
</li>
41 <li value=
"0" style=
"list-style-type: armenian;">The list marker should fall back to decimal
0 (armenian:
1-
9999).
</li>
42 <li value=
"0" style=
"list-style-type: georgian;">The list marker should fall back to decimal
0 (georgian:
1-
19999).
</li>
43 <li value=
"0" style=
"list-style-type: ancient-tamil;">The list marker should fall back to decimal
0 (ancient-tamil:
1-
9999).
</li>
44 <!-- FIXME: We don't currently support this list-style-type -> fall back to decimal -->
45 <li value=
"-1" style=
"list-style-type: japanese-informal;">The list marker should fall back to cjk-decimal -
1 (japanese-informal:
0-
9999).
</li>
46 <!-- FIXME: We don't currently support this list-style-type -> fall back to decimal -->
47 <li value=
"-1" style=
"list-style-type: japanese-formal;">The list marker should fall back to cjk-decimal -
1 (japanese-formal:
0-
9999).
</li>
48 <li value=
"-1" style=
"list-style-type: korean-hanja-informal;">The list marker should fall back to decimal -
1 (korean-hanja-informal:
0-
9999).
</li>
49 <li value=
"-1" style=
"list-style-type: korean-hanja-formal;">The list marker should fall back to decimal -
1 (korean-hanja-formal:
0-
9999).
</li>
50 <li value=
"0" style=
"list-style-type: greek;">The list marker should fall back to decimal
0 (greek:
1-
999).
</li>