text-transform-bicameral-004

text-transform - Unicode Latin, lowercase

WeasyPrint

This browser

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

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, lowercase</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=4">
  9 <meta name="flags" content="">
 10 <meta name="assert" content="The UA will lowercase all Latin Unicode letters beyond Latin1 when text-transform is set to lowercase.">
 11 <style type="text/css">
 12 .test span { text-transform: lowercase; }
 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 left-hand character in each pair matches the right-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>IJ</span> ij</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>DŽ</span> dž</div>
113 <div><span>Dž</span> dž</div>
114 <div><span>LJ</span> lj</div>
115 <div><span>Lj</span> lj</div>
116 <div><span>NJ</span> nj</div>
117 <div><span>Nj</span> nj</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>DZ</span> dz</div>
137 <div><span>Dz</span> dz</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>