text-transform-bicameral-014

text-transform - Armenian, lowercase

WeasyPrint

This browser

Assertion
The UA will lowercase Unicode Armenian 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 - Armenian, 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=14">
 9 <meta name="flags" content="">
10 <meta name="assert" content="The UA will lowercase Unicode Armenian 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>Ջ</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>