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 - Unicode Latin, 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=3">
9 <meta name="flags" content="">
10 <meta name="assert" content="The UA will uppercase all Latin Unicode letters beyond Latin1 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>I <span>ı</span></div>
55 <div>IJ <span>ij</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>S <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>DŽ <span>Dž</span></div>
113 <div>DŽ <span>dž</span></div>
114 <div>LJ <span>Lj</span></div>
115 <div>LJ <span>lj</span></div>
116 <div>NJ <span>Nj</span></div>
117 <div>NJ <span>nj</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>DZ <span>Dz</span></div>
137 <div>DZ <span>dz</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>Ț <span>ț</span></div>
157 <div>Ȝ <span>ȝ</span></div>
158 <div>Ȟ <span>ȟ</span></div>
159 <div>Ȣ <span>ȣ</span></div>
160 <div>Ȥ <span>ȥ</span></div>
161 <div>Ȧ <span>ȧ</span></div>
162 <div>Ȩ <span>ȩ</span></div>
163 <div>Ȫ <span>ȫ</span></div>
164 <div>Ȭ <span>ȭ</span></div>
165 <div>Ȯ <span>ȯ</span></div>
166 <div>Ȱ <span>ȱ</span></div>
167 <div>Ȳ <span>ȳ</span></div>
168 <div>Ɓ <span>ɓ</span></div>
169 <div>Ɔ <span>ɔ</span></div>
170 <div>Ɖ <span>ɖ</span></div>
171 <div>Ɗ <span>ɗ</span></div>
172 <div>Ə <span>ə</span></div>
173 <div>Ɛ <span>ɛ</span></div>
174 <div>Ɠ <span>ɠ</span></div>
175 <div>Ɣ <span>ɣ</span></div>
176 <div>Ɨ <span>ɨ</span></div>
177 <div>Ɩ <span>ɩ</span></div>
178 <div>Ɯ <span>ɯ</span></div>
179 <div>Ɲ <span>ɲ</span></div>
180 <div>Ɵ <span>ɵ</span></div>
181 <div>Ʀ <span>ʀ</span></div>
182 <div>Ʃ <span>ʃ</span></div>
183 <div>Ʈ <span>ʈ</span></div>
184 <div>Ʊ <span>ʊ</span></div>
185 <div>Ʋ <span>ʋ</span></div>
186 <div>Ʒ <span>ʒ</span></div>
187 <div>Ḁ <span>ḁ</span></div>
188 <div>Ḃ <span>ḃ</span></div>
189 <div>Ḅ <span>ḅ</span></div>
190 <div>Ḇ <span>ḇ</span></div>
191 <div>Ḉ <span>ḉ</span></div>
192 <div>Ḋ <span>ḋ</span></div>
193 <div>Ḍ <span>ḍ</span></div>
194 <div>Ḏ <span>ḏ</span></div>
195 <div>Ḑ <span>ḑ</span></div>
196 <div>Ḓ <span>ḓ</span></div>
197 <div>Ḕ <span>ḕ</span></div>
198 <div>Ḗ <span>ḗ</span></div>
199 <div>Ḙ <span>ḙ</span></div>
200 <div>Ḛ <span>ḛ</span></div>
201 <div>Ḝ <span>ḝ</span></div>
202 <div>Ḟ <span>ḟ</span></div>
203 <div>Ḡ <span>ḡ</span></div>
204 <div>Ḣ <span>ḣ</span></div>
205 <div>Ḥ <span>ḥ</span></div>
206 <div>Ḧ <span>ḧ</span></div>
207 <div>Ḩ <span>ḩ</span></div>
208 <div>Ḫ <span>ḫ</span></div>
209 <div>Ḭ <span>ḭ</span></div>
210 <div>Ḯ <span>ḯ</span></div>
211 <div>Ḱ <span>ḱ</span></div>
212 <div>Ḳ <span>ḳ</span></div>
213 <div>Ḵ <span>ḵ</span></div>
214 <div>Ḷ <span>ḷ</span></div>
215 <div>Ḹ <span>ḹ</span></div>
216 <div>Ḻ <span>ḻ</span></div>
217 <div>Ḽ <span>ḽ</span></div>
218 <div>Ḿ <span>ḿ</span></div>
219 <div>Ṁ <span>ṁ</span></div>
220 <div>Ṃ <span>ṃ</span></div>
221 <div>Ṅ <span>ṅ</span></div>
222 <div>Ṇ <span>ṇ</span></div>
223 <div>Ṉ <span>ṉ</span></div>
224 <div>Ṋ <span>ṋ</span></div>
225 <div>Ṍ <span>ṍ</span></div>
226 <div>Ṏ <span>ṏ</span></div>
227 <div>Ṑ <span>ṑ</span></div>
228 <div>Ṓ <span>ṓ</span></div>
229 <div>Ṕ <span>ṕ</span></div>
230 <div>Ṗ <span>ṗ</span></div>
231 <div>Ṙ <span>ṙ</span></div>
232 <div>Ṛ <span>ṛ</span></div>
233 <div>Ṝ <span>ṝ</span></div>
234 <div>Ṟ <span>ṟ</span></div>
235 <div>Ṡ <span>ṡ</span></div>
236 <div>Ṣ <span>ṣ</span></div>
237 <div>Ṥ <span>ṥ</span></div>
238 <div>Ṧ <span>ṧ</span></div>
239 <div>Ṩ <span>ṩ</span></div>
240 <div>Ṫ <span>ṫ</span></div>
241 <div>Ṭ <span>ṭ</span></div>
242 <div>Ṯ <span>ṯ</span></div>
243 <div>Ṱ <span>ṱ</span></div>
244 <div>Ṳ <span>ṳ</span></div>
245 <div>Ṵ <span>ṵ</span></div>
246 <div>Ṷ <span>ṷ</span></div>
247 <div>Ṹ <span>ṹ</span></div>
248 <div>Ṻ <span>ṻ</span></div>
249 <div>Ṽ <span>ṽ</span></div>
250 <div>Ṿ <span>ṿ</span></div>
251 <div>Ẁ <span>ẁ</span></div>
252 <div>Ẃ <span>ẃ</span></div>
253 <div>Ẅ <span>ẅ</span></div>
254 <div>Ẇ <span>ẇ</span></div>
255 <div>Ẉ <span>ẉ</span></div>
256 <div>Ẋ <span>ẋ</span></div>
257 <div>Ẍ <span>ẍ</span></div>
258 <div>Ẏ <span>ẏ</span></div>
259 <div>Ẑ <span>ẑ</span></div>
260 <div>Ẓ <span>ẓ</span></div>
261 <div>Ẕ <span>ẕ</span></div>
262 <div>Ṡ <span>ẛ</span></div>
263 <div>Ạ <span>ạ</span></div>
264 <div>Ả <span>ả</span></div>
265 <div>Ấ <span>ấ</span></div>
266 <div>Ầ <span>ầ</span></div>
267 <div>Ẩ <span>ẩ</span></div>
268 <div>Ẫ <span>ẫ</span></div>
269 <div>Ậ <span>ậ</span></div>
270 <div>Ắ <span>ắ</span></div>
271 <div>Ằ <span>ằ</span></div>
272 <div>Ẳ <span>ẳ</span></div>
273 <div>Ẵ <span>ẵ</span></div>
274 <div>Ặ <span>ặ</span></div>
275 <div>Ẹ <span>ẹ</span></div>
276 <div>Ẻ <span>ẻ</span></div>
277 <div>Ẽ <span>ẽ</span></div>
278 <div>Ế <span>ế</span></div>
279 <div>Ề <span>ề</span></div>
280 <div>Ể <span>ể</span></div>
281 <div>Ễ <span>ễ</span></div>
282 <div>Ệ <span>ệ</span></div>
283 <div>Ỉ <span>ỉ</span></div>
284 <div>Ị <span>ị</span></div>
285 <div>Ọ <span>ọ</span></div>
286 <div>Ỏ <span>ỏ</span></div>
287 <div>Ố <span>ố</span></div>
288 <div>Ồ <span>ồ</span></div>
289 <div>Ổ <span>ổ</span></div>
290 <div>Ỗ <span>ỗ</span></div>
291 <div>Ộ <span>ộ</span></div>
292 <div>Ớ <span>ớ</span></div>
293 <div>Ờ <span>ờ</span></div>
294 <div>Ở <span>ở</span></div>
295 <div>Ỡ <span>ỡ</span></div>
296 <div>Ợ <span>ợ</span></div>
297 <div>Ụ <span>ụ</span></div>
298 <div>Ủ <span>ủ</span></div>
299 <div>Ứ <span>ứ</span></div>
300 <div>Ừ <span>ừ</span></div>
301 <div>Ử <span>ử</span></div>
302 <div>Ữ <span>ữ</span></div>
303 <div>Ự <span>ự</span></div>
304 <div>Ỳ <span>ỳ</span></div>
305 <div>Ỵ <span>ỵ</span></div>
306 <div>Ỷ <span>ỷ</span></div>
307 <div>Ỹ <span>ỹ</span></div>
308 </div>
309
310
311 <!--p class="notes">Notes: <br />The <a href='http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-transform'>CSS2 specification</a> only requires that text-transform work for 'the Latin1 repertoire'. It is not clear what characters the term 'Latin1' covers. This test assumes that it means the Basic Latin and Latin-1 Supplement blocks of the Unicode Standard (equivalent to ISO-8859-1).</p-->
312 <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>
313 </html>