OLD | NEW |
1 <script src="resources/dump-list.js"></script> | 1 <script src="resources/dump-list.js"></script> |
2 <script> | 2 <script> |
3 | 3 |
4 function finishTest() | 4 function finishTest() |
5 { | 5 { |
6 document.getElementById("removeMyValue").removeAttribute("value"); | 6 document.getElementById("removeMyValue").removeAttribute("value"); |
7 document.getElementById("changeMyValue").setAttribute("value", "-5"); | 7 document.getElementById("changeMyValue").setAttribute("value", "-5"); |
8 filterListsWithReplacement(document.querySelectorAll("ol")); | 8 filterListsWithReplacement(document.querySelectorAll("ol")); |
9 if (window.testRunner) | 9 if (window.testRunner) |
10 testRunner.notifyDone(); | 10 testRunner.notifyDone(); |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 </script> | 22 </script> |
23 | 23 |
24 <body onload="init()"> | 24 <body onload="init()"> |
25 <ol> | 25 <ol> |
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> | 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> | 27 <li value="-1">The list marker should show -1 (negative values are allowed).
</li> |
28 <li>The list marker should show 0.</li> | 28 <li>The list marker should show 0.</li> |
29 <li value="invalid">The list marker should show 1 (invalid values are ignore
d).</li> | 29 <li value="invalid">The list marker should show 1 (invalid values are ignore
d).</li> |
30 <li value="2" id="changeMyValue">The list marker should show -5 (updated pro
grammatically).</li> | 30 <li value="2" id="changeMyValue">The list marker should show -5 (updated pro
grammatically).</li> |
| 31 <li value="-1" style="list-style-type: korean-hangul-formal;">The list marke
r should show -1 (negative values are allowed).</li> |
31 | 32 |
32 <!-- For the following styles the values are out-of-range, and should fall-b
ack to decimal --> | 33 <!-- For the following styles the values are out-of-range, and should fall-b
ack to decimal --> |
33 <li value="-1" style="list-style-type: hebrew;">The list marker should fall
back to decimal -1 (hebrew: 1-infinite).</li> | 34 <li value="-1" style="list-style-type: hebrew;">The list marker should fall
back to decimal -1 (hebrew: 1-infinite).</li> |
34 <li value="0" style="list-style-type: simple-upper-roman;">The list marker s
hould fall back to decimal 0 (simple-upper-roman: 1-4999).</li> | 35 <li value="0" style="list-style-type: simple-upper-roman;">The list marker s
hould fall back to decimal 0 (simple-upper-roman: 1-4999).</li> |
35 <li value="0" style="list-style-type: simple-lower-roman;">The list marker s
hould fall back to decimal 0 (simple-lower-roman: 1-4999).</li> | 36 <li value="0" style="list-style-type: simple-lower-roman;">The list marker s
hould fall back to decimal 0 (simple-lower-roman: 1-4999).</li> |
36 <li value="0" style="list-style-type: upper-roman;">The list marker should f
all back to decimal 0 (upper-roman: 1-4999).</li> | 37 <li value="0" style="list-style-type: upper-roman;">The list marker should f
all back to decimal 0 (upper-roman: 1-4999).</li> |
37 <li value="0" style="list-style-type: lower-roman;">The list marker should f
all back to decimal 0 (lower-roman: 1-4999).</li> | 38 <li value="0" style="list-style-type: lower-roman;">The list marker should f
all back to decimal 0 (lower-roman: 1-4999).</li> |
38 <li value="0" style="list-style-type: lower-armenian;">The list marker shoul
d fall back to decimal 0 (lower-armenian: 1-9999).</li> | 39 <li value="0" style="list-style-type: lower-armenian;">The list marker shoul
d fall back to decimal 0 (lower-armenian: 1-9999).</li> |
39 <li value="0" style="list-style-type: upper-armenian;">The list marker shoul
d fall back to decimal 0 (upper-armenian: 1-9999).</li> | 40 <li value="0" style="list-style-type: upper-armenian;">The list marker shoul
d fall back to decimal 0 (upper-armenian: 1-9999).</li> |
40 <li value="0" style="list-style-type: armenian;">The list marker should fall
back to decimal 0 (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> |
41 <li value="0" style="list-style-type: georgian;">The list marker should fall
back to decimal 0 (georgian: 1-19999).</li> | 42 <li value="0" style="list-style-type: georgian;">The list marker should fall
back to decimal 0 (georgian: 1-19999).</li> |
42 <li value="0" style="list-style-type: ancient-tamil;">The list marker should
fall back to decimal 0 (ancient-tamil: 1-9999).</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> |
43 <!-- FIXME: We don't currently support this list-style-type -> fall back to
decimal --> | 44 <!-- FIXME: We don't currently support this list-style-type -> fall back to
decimal --> |
44 <li value="-1" style="list-style-type: japanese-informal;">The list marker s
hould fall back to cjk-decimal -1 (japanese-informal: 0-9999).</li> | 45 <li value="-1" style="list-style-type: japanese-informal;">The list marker s
hould fall back to cjk-decimal -1 (japanese-informal: 0-9999).</li> |
45 <!-- FIXME: We don't currently support this list-style-type -> fall back to
decimal --> | 46 <!-- FIXME: We don't currently support this list-style-type -> fall back to
decimal --> |
46 <li value="-1" style="list-style-type: japanese-formal;">The list marker sho
uld fall back to cjk-decimal -1 (japanese-formal: 0-9999).</li> | 47 <li value="-1" style="list-style-type: japanese-formal;">The list marker sho
uld fall back to cjk-decimal -1 (japanese-formal: 0-9999).</li> |
47 <li value="-1" style="list-style-type: korean-hangul-formal;">The list marke
r should fall back to decimal -1 (korean-hangul-formal: 0-9999).</li> | |
48 <li value="-1" style="list-style-type: korean-hanja-informal;">The list mark
er should fall back to decimal -1 (korean-hanja-informal: 0-9999).</li> | 48 <li value="-1" style="list-style-type: korean-hanja-informal;">The list mark
er 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> | 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 ba
ck to decimal 0 (greek: 1-999).</li> | 50 <li value="0" style="list-style-type: greek;">The list marker should fall ba
ck to decimal 0 (greek: 1-999).</li> |
51 </ol> | 51 </ol> |
52 </body> | 52 </body> |
OLD | NEW |