text-transform-bicameral-021.xht (3558B)
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 - Deseret, 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-021-ref.xht"/> 11 <link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-text-transform/generate?test=21' /> 12 <meta name="assert" content="The UA will uppercase Unicode Deseret characters 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>𐐚 <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> 72 73 74 <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> 75 </html>