list-style-type-armenian-001

list-style-type - armenian, up to 100

WeasyPrint

This browser

Assertion
Setting list-style-type to armenian will cause list numbering to format numbers up to 9,999 in the way described in CSS3 Lists module.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 2 <html>
 3 <head>
 4 <title>CSS Test: list-style-type - armenian, up to 100</title>
 5 <link rel="author" title="Richard Ishida" href="http://rishida.net">
 6 <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
 8 <link rel="alternate" href="http://www.w3.org/International/tests/tests-html-css/tests-list-style-type/generate?test=2">
 9 <meta name="flags" content="">
10 <meta name="assert" content="Setting list-style-type to armenian will cause list numbering to format numbers up to 9,999 in the way described in CSS3 Lists module.">
11 <style type="text/css">
12 .armenian { list-style-type: armenian; }
13 
14 /* the CSS below is not part of the test */
15 .test { font-size: 24px; font-family: sans-serif; }
16 ol { margin: 0; padding-left: 8em; }
17 .alt { color: #ff6633; margin-left: 40px;}
18 
19 </style>
20 </head>
21 <body>
22 <p class="instructions">Test passes if the text in the two columns is the same.</p>
23 
24 
25 <div class="test"> 
26 			<ol class="armenian">
27 				<li title="1">Ա</li>
28 				<li title="2">Բ</li>
29 				<li title="3">Գ</li>
30 				<li title="4">Դ</li>
31 				<li title="5">Ե</li>
32 				<li title="6">Զ</li>
33 				<li title="7">Է</li>
34 				<li title="8">Ը</li>
35 				<li title="9">Թ</li>
36 				<li title="10">Ժ</li>
37 				<li title="11">ԺԱ</li>
38 				<li title="12">ԺԲ</li>
39 			</ol>
40 			<ol class="armenian" start="43">
41 				<li title="43">ԽԳ</li>
42 			</ol>
43 			<ol class="armenian" start="77">
44 				<li title="77">ՀԷ</li>
45 			</ol>
46 			<ol class="armenian" start="80">
47 				<li title="80">Ձ</li>
48 			</ol>
49 			<ol class="armenian" start="99">
50 				<li title="99">ՂԹ</li>
51 				<li title="100">Ճ</li>
52 			</ol>
53 		</div>
54 
55 
56 <!--p class="notes">Notes: <br />CSS2.1 CR specifies an armenian property, but does not specify in any detail the mechanism for implementing it. Expectations for behavior in these tests are based on the descriptions of lower-armenian and upper-armenian in the version of the CSS3 Lists module current at the time this test was last updated.</p><p class="notes">The test uses the start attribute to reduce the size of the list.  This attribute is deprecated or unavailable in some formats, causing the test page not to validate, but appears to be supported in major browsers anyway (and will be reinstated in HTML5).</p><p class="notes">Both upper and lowercase variants are shown here because the test is about the generative mechanism. The case is tested elsewhere.</p-->
57 </body>
58 </html>