OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
3 <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 3 <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
4 <title>I18N Tests: list-style-type</title> | 4 <title>I18N Tests: list-style-type</title> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 ol.lower-latin { list-style-type: lower-latin; } | 6 ol.lower-latin { list-style-type: lower-latin; } |
7 ol.upper-latin { list-style-type: upper-latin; } | 7 ol.upper-latin { list-style-type: upper-latin; } |
8 ol.lower-alpha { list-style-type: lower-alpha; } | 8 ol.lower-alpha { list-style-type: lower-alpha; } |
9 ol.upper-alpha { list-style-type: upper-alpha; } | 9 ol.upper-alpha { list-style-type: upper-alpha; } |
10 ol.cjk { list-style-type: cjk-ideographic; } | 10 ol.cjk { list-style-type: cjk-ideographic; } |
11 ol.hiragana { list-style-type: hiragana; } | 11 ol.hiragana { list-style-type: hiragana; } |
12 ol.hiragana-iroha { list-style-type: hiragana-iroha; } | 12 ol.hiragana-iroha { list-style-type: hiragana-iroha; } |
13 ol.katakana { list-style-type: katakana; } | 13 ol.katakana { list-style-type: katakana; } |
14 ol.katakana-iroha { list-style-type: katakana-iroha; } | 14 ol.katakana-iroha { list-style-type: katakana-iroha; } |
15 ol.hebrew { list-style-type: hebrew; } | 15 ol.hebrew { list-style-type: hebrew; } |
16 ol.georgian { list-style-type: georgian; } | 16 ol.georgian { list-style-type: georgian; } |
17 ol.armenian { list-style-type: armenian; } | 17 ol.armenian { list-style-type: armenian; } |
18 ol.lower-greek { list-style-type: lower-greek; } | 18 ol.lower-greek { list-style-type: lower-greek; } |
19 ol { margin-bottom: 2em; } | 19 ol { margin-bottom: 2em; margin-left: 3em; } |
20 ol ol { margin-bottom: 0em; margin-top: 0.5em; } | 20 ol ol { margin-bottom: 0em; margin-top: 0.5em; } |
21 </style> | 21 </style> |
22 <script src="resources/dump-list.js"></script> | 22 <script src="resources/dump-list.js"></script> |
23 <script> | 23 <script> |
24 window.onload = function() | 24 window.onload = function() |
25 { | 25 { |
26 if (window.testRunner) { | 26 if (window.testRunner) { |
27 testRunner.dumpAsText(); | 27 testRunner.dumpAsText(); |
28 filterListsWithReplacement(document.querySelectorAll(".test ol")); | 28 filterListsWithReplacement(document.querySelectorAll(".test ol")); |
29 } | 29 } |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 <li>twenty two, undefined</li> | 303 <li>twenty two, undefined</li> |
304 </ol> | 304 </ol> |
305 <ol class="cjk" start="100"> | 305 <ol class="cjk" start="100"> |
306 <li>a hundred, undefined</li> | 306 <li>a hundred, undefined</li> |
307 <li>a hundred and one, undefined</li> | 307 <li>a hundred and one, undefined</li> |
308 <li>a hundred and two, undefined</li> | 308 <li>a hundred and two, undefined</li> |
309 </ol> | 309 </ol> |
310 <ol class="cjk" start="0"> | 310 <ol class="cjk" start="0"> |
311 <li>zero, undefined</li> | 311 <li>zero, undefined</li> |
312 <li>one</li> | 312 <li>one</li> |
313 </ol></div> | 313 </ol> |
| 314 |
| 315 <ol class="cjk" start="1000"> |
| 316 <li>a thousand, undefined</li> |
| 317 </ol> |
| 318 <ol class="cjk" start="10001000"> |
| 319 <li>ten million one thousand, undefined</li> |
| 320 </ol> |
| 321 <ol class="cjk" start="1000100"> |
| 322 <li>one million one hundred, undefined</li> |
| 323 </ol></div> |
314 <h2>hebrew</h2> | 324 <h2>hebrew</h2> |
315 <p class="notes">CSS says: <code>list-style-type: hebrew;</code></p> | 325 <p class="notes">CSS says: <code>list-style-type: hebrew;</code></p> |
316 <p class="notes">The CSS2.0 specification doesn't define the algorithm for
the Hebrew numbering.</p> | 326 <p class="notes">The CSS2.0 specification doesn't define the algorithm for
the Hebrew numbering.</p> |
317 <div class="test"> | 327 <div class="test"> |
318 <ol class="hebrew"> | 328 <ol class="hebrew"> |
319 <li>one, should show א</li> | 329 <li>one, should show א</li> |
320 <li>two, should show ב | 330 <li>two, should show ב |
321 <ol class="hebrew"> | 331 <ol class="hebrew"> |
322 <li>one, should show א</li> | 332 <li>one, should show א</li> |
323 <li>two, should show ב</li> | 333 <li>two, should show ב</li> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 <li>eleven, may show ժա</li> | 399 <li>eleven, may show ժա</li> |
390 <li>twelve, may show ժբ</li> | 400 <li>twelve, may show ժբ</li> |
391 </ol> | 401 </ol> |
392 <ol class="armenian" start="99"> | 402 <ol class="armenian" start="99"> |
393 <li>ninety-nine, undefined, may show ղթ</li> | 403 <li>ninety-nine, undefined, may show ղթ</li> |
394 <li>hundred, undefined, may show ճ</li> | 404 <li>hundred, undefined, may show ճ</li> |
395 <li>a hundred and one, undefined, may show ճա</li> | 405 <li>a hundred and one, undefined, may show ճա</li> |
396 </ol> </div> | 406 </ol> </div> |
397 </body> | 407 </body> |
398 </html> | 408 </html> |
OLD | NEW |