tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

text-transform-bicameral-017.xht (3031B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 <head>
      5 <title>CSS Test: text-transform - Circled Latin, uppercase</title>
      6 <link rel='author' title='Richard Ishida' href='http://rishida.net' />
      7 <link rel='reviewer' title='Elika J. Etemad' href='http://fantasai.inkedblade.net/contact' />
      8 <link rel='help' href='http://www.w3.org/TR/CSS21/text.html#caps-prop' />
      9 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-transform-property"/>
     10 <link rel="match" href="text-transform-bicameral-017-ref.xht"/>
     11 <link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-text-transform/generate?test=17' />
     12 <meta name="assert" content="The UA will uppercase Unicode Circled Latin when text-transform is set to uppercase." />
     13 <style type='text/css'>
     14 .test span { text-transform: uppercase; }
     15 
     16 /* the CSS below is not part of the test */
     17 .test { font-size: 130%; line-height: 2.5; color: blue; }
     18 .test div { white-space: nowrap; text-align: center;
     19              width: 5em; display: inline-block; }</style>
     20 <script type='text/javascript'>
     21 //<![CDATA[
     22 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++;		}	}
     23 //]]>
     24 </script>
     25 </head>
     26 <body>
     27 <p class="instructions">Test passes if the right-hand character in each pair matches the left-hand one.</p>
     28 
     29 
     30 <div class="test">
     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>
     58 
     59 
     60 <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>
     61 </html>