text-transform-bicameral-013

text-transform - Armenian, uppercase

WeasyPrint

This browser

Assertion
The UA will uppercase Unicode Armenian 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 - Armenian, 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=13">
 9 <meta name="flags" content="">
10 <meta name="assert" content="The UA will uppercase Unicode Armenian 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>
68 
69 
70 <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>
71 </html>