1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: text-transform - Cyrillic, uppercase</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/text.html#caps-prop">
8 <link rel="alternate" href="http://www.w3.org/International/tests/tests-html-css/tests-text-transform/generate?test=11">
9 <meta name="flags" content="">
10 <meta name="assert" content="The UA will uppercase Unicode Cyrillic when text-transform is set to uppercase.">
11 <style type="text/css">
12 .test span { text-transform: uppercase; }
13
14 /* the CSS below is not part of the test */
15 .test { font-size: 130%; line-height: 2.5; color: blue; }
16 .test div { white-space: nowrap; text-align: center;
17 width: 5em; display: inline-block; }</style>
18 <script type="text/javascript">
19 //
20 function setFontFamily () {var fontName = document.getElementById( 'fontName' ).value; var divs = document.getElementsByTagName('div'); var i = 0; var div; while (i < divs.length) { div = divs.item(i); if (div.className == 'test') { div.style.fontFamily = fontName; } i++; } }
21 //
22 </script>
23 </head>
24 <body>
25 <p class="instructions">Test passes if the right-hand character in each pair matches the left-hand one.</p>
26
27
28 <div class="test">
29 <div>А <span>а</span></div>
30 <div>Б <span>б</span></div>
31 <div>В <span>в</span></div>
32 <div>Г <span>г</span></div>
33 <div>Д <span>д</span></div>
34 <div>Е <span>е</span></div>
35 <div>Ж <span>ж</span></div>
36 <div>З <span>з</span></div>
37 <div>И <span>и</span></div>
38 <div>Й <span>й</span></div>
39 <div>К <span>к</span></div>
40 <div>Л <span>л</span></div>
41 <div>М <span>м</span></div>
42 <div>Н <span>н</span></div>
43 <div>О <span>о</span></div>
44 <div>П <span>п</span></div>
45 <div>Р <span>р</span></div>
46 <div>С <span>с</span></div>
47 <div>Т <span>т</span></div>
48 <div>У <span>у</span></div>
49 <div>Ф <span>ф</span></div>
50 <div>Х <span>х</span></div>
51 <div>Ц <span>ц</span></div>
52 <div>Ч <span>ч</span></div>
53 <div>Ш <span>ш</span></div>
54 <div>Щ <span>щ</span></div>
55 <div>Ъ <span>ъ</span></div>
56 <div>Ы <span>ы</span></div>
57 <div>Ь <span>ь</span></div>
58 <div>Э <span>э</span></div>
59 <div>Ю <span>ю</span></div>
60 <div>Я <span>я</span></div>
61 <div>Ѐ <span>ѐ</span></div>
62 <div>Ё <span>ё</span></div>
63 <div>Ђ <span>ђ</span></div>
64 <div>Ѓ <span>ѓ</span></div>
65 <div>Є <span>є</span></div>
66 <div>Ѕ <span>ѕ</span></div>
67 <div>І <span>і</span></div>
68 <div>Ї <span>ї</span></div>
69 <div>Ј <span>ј</span></div>
70 <div>Љ <span>љ</span></div>
71 <div>Њ <span>њ</span></div>
72 <div>Ћ <span>ћ</span></div>
73 <div>Ќ <span>ќ</span></div>
74 <div>Ѝ <span>ѝ</span></div>
75 <div>Ў <span>ў</span></div>
76 <div>Џ <span>џ</span></div>
77 <div>Ѡ <span>ѡ</span></div>
78 <div>Ѣ <span>ѣ</span></div>
79 <div>Ѥ <span>ѥ</span></div>
80 <div>Ѧ <span>ѧ</span></div>
81 <div>Ѩ <span>ѩ</span></div>
82 <div>Ѫ <span>ѫ</span></div>
83 <div>Ѭ <span>ѭ</span></div>
84 <div>Ѯ <span>ѯ</span></div>
85 <div>Ѱ <span>ѱ</span></div>
86 <div>Ѳ <span>ѳ</span></div>
87 <div>Ѵ <span>ѵ</span></div>
88 <div>Ѷ <span>ѷ</span></div>
89 <div>Ѹ <span>ѹ</span></div>
90 <div>Ѻ <span>ѻ</span></div>
91 <div>Ѽ <span>ѽ</span></div>
92 <div>Ѿ <span>ѿ</span></div>
93 <div>Ҁ <span>ҁ</span></div>
94 <div>Ҋ <span>ҋ</span></div>
95 <div>Ҍ <span>ҍ</span></div>
96 <div>Ҏ <span>ҏ</span></div>
97 <div>Ґ <span>ґ</span></div>
98 <div>Ғ <span>ғ</span></div>
99 <div>Ҕ <span>ҕ</span></div>
100 <div>Җ <span>җ</span></div>
101 <div>Ҙ <span>ҙ</span></div>
102 <div>Қ <span>қ</span></div>
103 <div>Ҝ <span>ҝ</span></div>
104 <div>Ҟ <span>ҟ</span></div>
105 <div>Ҡ <span>ҡ</span></div>
106 <div>Ң <span>ң</span></div>
107 <div>Ҥ <span>ҥ</span></div>
108 <div>Ҧ <span>ҧ</span></div>
109 <div>Ҩ <span>ҩ</span></div>
110 <div>Ҫ <span>ҫ</span></div>
111 <div>Ҭ <span>ҭ</span></div>
112 <div>Ү <span>ү</span></div>
113 <div>Ұ <span>ұ</span></div>
114 <div>Ҳ <span>ҳ</span></div>
115 <div>Ҵ <span>ҵ</span></div>
116 <div>Ҷ <span>ҷ</span></div>
117 <div>Ҹ <span>ҹ</span></div>
118 <div>Һ <span>һ</span></div>
119 <div>Ҽ <span>ҽ</span></div>
120 <div>Ҿ <span>ҿ</span></div>
121 <div>Ӂ <span>ӂ</span></div>
122 <div>Ӄ <span>ӄ</span></div>
123 <div>Ӆ <span>ӆ</span></div>
124 <div>Ӈ <span>ӈ</span></div>
125 <div>Ӊ <span>ӊ</span></div>
126 <div>Ӌ <span>ӌ</span></div>
127 <div>Ӎ <span>ӎ</span></div>
128 <div>Ӑ <span>ӑ</span></div>
129 <div>Ӓ <span>ӓ</span></div>
130 <div>Ӕ <span>ӕ</span></div>
131 <div>Ӗ <span>ӗ</span></div>
132 <div>Ә <span>ә</span></div>
133 <div>Ӛ <span>ӛ</span></div>
134 <div>Ӝ <span>ӝ</span></div>
135 <div>Ӟ <span>ӟ</span></div>
136 <div>Ӡ <span>ӡ</span></div>
137 <div>Ӣ <span>ӣ</span></div>
138 <div>Ӥ <span>ӥ</span></div>
139 <div>Ӧ <span>ӧ</span></div>
140 <div>Ө <span>ө</span></div>
141 <div>Ӫ <span>ӫ</span></div>
142 <div>Ӭ <span>ӭ</span></div>
143 <div>Ӯ <span>ӯ</span></div>
144 <div>Ӱ <span>ӱ</span></div>
145 <div>Ӳ <span>ӳ</span></div>
146 <div>Ӵ <span>ӵ</span></div>
147 <div>Ӹ <span>ӹ</span></div>
148 <div>Ԁ <span>ԁ</span></div>
149 <div>Ԃ <span>ԃ</span></div>
150 <div>Ԅ <span>ԅ</span></div>
151 <div>Ԇ <span>ԇ</span></div>
152 <div>Ԉ <span>ԉ</span></div>
153 <div>Ԋ <span>ԋ</span></div>
154 <div>Ԍ <span>ԍ</span></div>
155 <div>Ԏ <span>ԏ</span></div>
156 </div>
157
158
159 <p id="fontChange" style="display: none;" class="notes">If you are unable to see font glyphs for certain characters using the browsers default font you can apply a specific font by typing its name in the following box: <input class="css" name="fontName" id="fontName" value="" type="text"> <button class="notes" type="button" onclick="setFontFamily()">Apply</button></p><script type="text/javascript">if (document.getElementById) {document.getElementById('fontChange').style.display = 'block'}</script></body>
160 </html>