blob: 9e4c0bb2e36aa2670ca20b66595d2e275b6c41a5 [file] [log] [blame]
robert@webkit.org6e76ef32012-09-10 17:42:39 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>CSS Test: content: counter(c, armenian)</title>
6 <link rel="author" title="L. David Baron" href="http://dbaron.org/">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
9 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles">
10 <meta http-equiv="Content-Style-Type" content="text/css">
11 <style type="text/css">
12
13 body { white-space: nowrap; }
14
15
16 #test { counter-reset: c; }
17 #test span { counter-increment: c; }
18 #test span:before { content: counter(c, armenian); }
19
20 </style>
21 </head>
22 <body>
23
24 <p>The following two lines should look the same:</p>
25
26 <div>
27 Ա
28 Բ
29 Գ
30 Դ
31 Ե
32 Զ
33 Է
34 Ը
35 Թ
36 Ժ
37 ԺԱ
38 ԺԲ
39 Ի
40 Լ
41 Խ
42 Ծ
43 Կ
44 Հ
45 Ձ
46 Ղ
47 Ճ
48 Մ
49 Յ
50 Ն
51 Շ
52 Ո
53 Չ
54 Պ
55 Ջ
56 Ռ
57 Ս
58 Վ
59 Տ
60 Ր
61 Ց
62 Ւ
63 Փ
64 Ք
65 ՔՋՂԹ
66 </div>
67
68 <div>
69 Ա
70 Բ
71 Գ
72 Դ
73 Ե
74 Զ
75 Է
76 Ը
77 Թ
78 Ժ
79 ԺԱ
80 ԺԲ
81 Ի
82 Լ
83 Խ
84 Ծ
85 Կ
86 Հ
87 Ձ
88 Ղ
89 Ճ
90 Մ
91 Յ
92 Ն
93 Շ
94 Ո
95 Չ
96 Պ
97 Ջ
98 Ռ
99 Ս
100 Վ
101 Տ
102 Ր
103 Ց
104 Ւ
105 Փ
106 Ք
107 ՔՋՂԹ
108 </div>
109
110 </body>
111</html>