4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <link rel="stylesheet" href="resources/w3-css3-list-styles-alphabetic.css" type="text/css" charset="utf-8" />
7 .test ol { float: left; padding-right: 20px; }
8 .test h2 { clear: left; }
10 hr + h2 { color: blue; }
13 The following styles are ordered as they appear in section 4.2. of the
14 Draft 7 November 2002 draft of the CSS3 Lists module <http://www.w3.org/TR/css3-lists/#algorithmic>.
17 ol.armenian { list-style-type: armenian; }
19 ol.cjk-ideographic { list-style-type: cjk-ideographic; }
21 ol.ethiopic-numeric { list-style-type: ethiopic-numeric; }
23 ol.georgian { list-style-type: georgian; }
25 ol.hebrew { list-style-type: hebrew; }
27 ol.japanese-formal { list-style-type: japanese-formal; }
29 ol.japanese-informal { list-style-type: japanese-informal; }
31 ol.lower-armenian { list-style-type: lower-armenian; }
33 ol.lower-roman { list-style-type: lower-roman; }
35 ol.simp-chinese-formal { list-style-type: simp-chinese-formal; }
37 ol.simp-chinese-informal { list-style-type: simp-chinese-informal; }
39 ol.syriac { list-style-type: syriac; }
41 ol.tamil { list-style-type: tamil; }
43 ol.trad-chinese-formal { list-style-type: trad-chinese-formal; }
45 ol.trad-chinese-informal { list-style-type: trad-chinese-informal; }
47 ol.upper-armenian { list-style-type: upper-armenian; }
49 ol.upper-roman { list-style-type: upper-roman; }
51 <script src="resources/dump-list.js"></script>
55 if (!window.layoutTestController)
58 layoutTestController.dumpAsText();
59 filterListsWithReplacement(document.querySelectorAll(".test ol"), testListItemMarkerEqualsListItemText);
60 document.body.removeChild(document.getElementById("description")); // Remove description when running in DRT.
62 window.onload = runTest;
66 <h1>CSS3 Fallback to Decimal List Style</h1>
67 <div id="description">
68 <p>This tests that we fallback to the decimal list style type when the ordinal is outside the representable range for the list style type as per the <a href="http://www.w3.org/TR/css3-lists/">CSS3 Lists module</a> (Draft 7 November 2002). This test PASSED if the list item matches its marker for every list item (below).</p>
69 <p>Note, as of 12/04/2010, ethiopic-numeric; japanese-formal; japanese-informal; simp-chinese-formal; simp-chinese-informal; syriac; tamil; trad-chinese-formal; and trad-chinese-informal are unsupported and hence have expected failure results.</p>
75 <ol class="armenian" start="-1">
80 <ol class="armenian" start="99999999">
81 <li>Ք̂Ջ̂Ղ̂Թ̂ՔՋՂԹ</li>
87 <h2>cjk-ideographic</h2>
88 <ol class="cjk-ideographic" start="-1">
96 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
97 <h2>ethiopic-numeric</h2>
98 <ol class="ethiopic-numeric" start="-1">
107 <ol class="georgian" start="-1">
112 <ol class="georgian" start="19999">
113 <li>ჵჰშჟთ</li>
120 <ol class="hebrew" start="-1">
122 <li>אפס</li>
125 <ol class="hebrew" start="999999">
126 <li>תתקצט'תתקצט</li>
132 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
133 <h2>japanese-formal</h2>
134 <ol class="japanese-formal" start="-1">
141 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
142 <h2>japanese-informal</h2>
143 <ol class="japanese-informal" start="-1">
150 <h2>lower-armenian</h2>
151 <ol class="lower-armenian" start="-1">
159 <ol class="lower-roman" start="-1">
166 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
167 <h2>simp-chinese-formal</h2>
168 <ol class="simp-chinese-formal" start="-1">
175 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
176 <h2>simp-chinese-informal</h2>
177 <ol class="simp-chinese-informal" start="-1">
184 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
186 <ol class="syriac" start="-1">
193 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
195 <ol class="tamil" start="-1">
202 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
203 <h2>trad-chinese-formal</h2>
204 <ol class="trad-chinese-formal" start="-1">
211 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
212 <h2>trad-chinese-informal</h2>
213 <ol class="trad-chinese-informal" start="-1">
220 <h2>upper-armenian</h2>
221 <ol class="upper-armenian" start="-1">
229 <ol class="upper-roman" start="-1">
239 <ol class="afar" start="-1">
246 <h2>ethiopic-halehame-aa-et</h2>
247 <ol class="ethiopic-halehame-aa-et" start="-1">
254 <h2>ethiopic-halehame-aa-er</h2>
255 <ol class="ethiopic-halehame-aa-er" start="-1">
264 <ol class="amharic" start="-1">
271 <h2>ethiopic-halehame-am-et</h2>
272 <ol class="ethiopic-halehame-am-et" start="-1">
279 <h2>amharic-abegede</h2>
280 <ol class="amharic-abegede" start="-1">
287 <h2>ethiopic-abegede-am-et</h2>
288 <ol class="ethiopic-abegede-am-et" start="-1">
296 <h2>cjk-earthly-branch</h2>
297 <ol class="cjk-earthly-branch" start="-1">
305 <h2>cjk-heavenly-stem</h2>
306 <ol class="cjk-heavenly-stem" start="-1">
315 <ol class="ethiopic" start="-1">
322 <h2>ethiopic-halehame-gez</h2>
323 <ol class="ethiopic-halehame-gez" start="-1">
331 <h2>ethiopic-abegede</h2>
332 <ol class="ethiopic-abegede" start="-1">
339 <h2>ethiopic-abegede-gez</h2>
340 <ol class="ethiopic-abegede-gez" start="-1">
348 <h2>hangul-consonant</h2>
349 <ol class="hangul-consonant" start="-1">
358 <ol class="hangul" start="-1">
366 <h2>hiragana-iroha</h2>
367 <ol class="hiragana-iroha" start="-1">
376 <ol class="hiragana" start="-1">
384 <h2>katakana-iroha</h2>
385 <ol class="katakana-iroha" start="-1">
394 <ol class="katakana" start="-1">
403 <ol class="lower-alpha" start="-1">
411 <ol class="lower-latin" start="-1">
420 <ol class="lower-greek" start="-1">
428 <h2>lower-norwegian</h2>
429 <ol class="lower-norwegian" start="-1">
438 <ol class="oromo" start="-1">
445 <h2>ethiopic-halehame-om-et</h2>
446 <ol class="ethiopic-halehame-om-et" start="-1">
455 <ol class="sidama" start="-1">
462 <h2>ethiopic-halehame-sid-et</h2>
463 <ol class="ethiopic-halehame-sid-et" start="-1">
472 <ol class="somali" start="-1">
479 <h2>ethiopic-halehame-so-et</h2>
480 <ol class="ethiopic-halehame-so-et" start="-1">
489 <ol class="tigre" start="-1">
496 <h2>ethiopic-halehame-tig</h2>
497 <ol class="ethiopic-halehame-tig" start="-1">
506 <ol class="tigrinya-er" start="-1">
513 <h2>ethiopic-halehame-ti-er</h2>
514 <ol class="ethiopic-halehame-ti-er" start="-1">
522 <h2>tigrinya-er-abegede</h2>
523 <ol class="tigrinya-er-abegede" start="-1">
530 <h2>ethiopic-abegede-ti-er</h2>
531 <ol class="ethiopic-abegede-ti-er" start="-1">
540 <ol class="tigrinya-et" start="-1">
547 <h2>ethiopic-halehame-ti-et</h2>
548 <ol class="ethiopic-halehame-ti-et" start="-1">
556 <h2>tigrinya-et-abegede</h2>
557 <ol class="tigrinya-et-abegede" start="-1">
564 <h2>ethiopic-abegede-ti-et</h2>
565 <ol class="ethiopic-abegede-ti-et" start="-1">
574 <ol class="upper-alpha" start="-1">
582 <ol class="upper-latin" start="-1">
591 <ol class="upper-greek" start="-1">
599 <h2>upper-norwegian</h2>
600 <ol class="upper-norwegian" start="-1">