text-transform-bicameral-021

text-transform - Deseret, uppercase

WeasyPrint

This browser

Assertion
The UA will uppercase Unicode Deseret characters 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 - Deseret, 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=21">
 9 <meta name="flags" content="">
10 <meta name="assert" content="The UA will uppercase Unicode Deseret characters 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>
70 
71 
72 <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>
73 </html>