text-transform-bicameral-003

text-transform - Unicode Latin, uppercase

WeasyPrint

This browser

Assertion
The UA will uppercase all Latin Unicode letters beyond Latin1 when text-transform is set to uppercase.

Source

  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>