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
6.1 +
6.3 of the
14 3 February
2015 CR of the CSS3 Counter Styles Level
3 module
<http://www.w3.org/TR/css-counter-styles-
3/#simple-numeric
>.
17 ol.armenian { list-style-type: armenian; }
19 ol.upper-armenian { list-style-type: upper-armenian; }
21 ol.lower-armenian { list-style-type: lower-armenian; }
23 ol.cjk-ideographic { list-style-type: cjk-ideographic; }
25 ol.georgian { list-style-type: georgian; }
27 ol.hebrew { list-style-type: hebrew; }
29 ol.syriac { list-style-type: syriac; }
31 ol.tamil { list-style-type: tamil; }
33 ol.lower-roman { list-style-type: lower-roman; }
35 ol.upper-roman { list-style-type: upper-roman; }
37 ol.japanese-formal { list-style-type: japanese-formal; }
39 ol.japanese-informal { list-style-type: japanese-informal; }
41 ol.simp-chinese-formal { list-style-type: simp-chinese-formal; }
43 ol.simp-chinese-informal { list-style-type: simp-chinese-informal; }
45 ol.trad-chinese-formal { list-style-type: trad-chinese-formal; }
47 ol.trad-chinese-informal { list-style-type: trad-chinese-informal; }
49 ol.ethiopic-numeric { list-style-type: ethiopic-numeric; }
51 <script src=
"resources/dump-list.js"></script>
55 if (!window
.testRunner
)
58 testRunner
.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/css-counter-styles-3/">CSS3 Counter Styles Level
3 module
</a> (CR
3 Februari
2015). 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">
89 <li>負一</li>
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">
156 <ol class=
"lower-armenian" start=
"99999999">
157 <li>ք̂ջ̂ղ̂թ̂քջղթ</li>
163 <ol class=
"lower-roman" start=
"-1">
170 <h2>simp-chinese-formal
</h2>
171 <ol class=
"simp-chinese-formal" start=
"-1">
172 <li>负壹</li>
178 <h2>simp-chinese-informal
</h2>
179 <ol class=
"simp-chinese-informal" start=
"-1">
180 <li>负一</li>
186 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
188 <ol class=
"syriac" start=
"-1">
195 <!-- FIXME: We don't currently support this list-style-type. These are expected failure results. -->
197 <ol class=
"tamil" start=
"-1">
204 <h2>trad-chinese-formal
</h2>
205 <ol class=
"trad-chinese-formal" start=
"-1">
206 <li>負壹</li>
212 <h2>trad-chinese-informal
</h2>
213 <ol class=
"trad-chinese-informal" start=
"-1">
214 <li>負一</li>
220 <h2>upper-armenian
</h2>
221 <ol class=
"upper-armenian" start=
"-1">
226 <ol class=
"upper-armenian" start=
"99999999">
227 <li>Ք̂Ջ̂Ղ̂Թ̂ՔՋՂԹ</li>
233 <ol class=
"upper-roman" start=
"-1">
242 <h2>cjk-earthly-branch
</h2>
243 <ol class=
"cjk-earthly-branch" start=
"-1">
251 <h2>cjk-heavenly-stem
</h2>
252 <ol class=
"cjk-heavenly-stem" start=
"-1">
260 <h2>ethiopic-halehame
</h2>
261 <ol class=
"ethiopic-halehame" start=
"-1">
269 <h2>ethiopic-halehame-am
</h2>
270 <ol class=
"ethiopic-halehame-am" start=
"-1">
278 <h2>hangul-consonant
</h2>
279 <ol class=
"hangul-consonant" start=
"-1">
288 <ol class=
"hangul" start=
"-1">
296 <h2>hiragana-iroha
</h2>
297 <ol class=
"hiragana-iroha" start=
"-1">
306 <ol class=
"hiragana" start=
"-1">
314 <h2>katakana-iroha
</h2>
315 <ol class=
"katakana-iroha" start=
"-1">
324 <ol class=
"katakana" start=
"-1">
333 <ol class=
"lower-alpha" start=
"-1">
341 <ol class=
"lower-latin" start=
"-1">
350 <ol class=
"lower-greek" start=
"-1">
358 <h2>ethiopic-halehame-ti-er
</h2>
359 <ol class=
"ethiopic-halehame-ti-er" start=
"-1">
367 <h2>ethiopic-halehame-ti-et
</h2>
368 <ol class=
"ethiopic-halehame-ti-et" start=
"-1">
377 <ol class=
"upper-alpha" start=
"-1">
385 <ol class=
"upper-latin" start=
"-1">