text-transform-bicameral-001-ref.xht (3623B)
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>test reference</title> 6 <style type='text/css'> 7 8 /* the CSS below is not part of the test */ 9 .test { font-size: 130%; line-height: 2.5; color: blue; } 10 .test div { white-space: nowrap; text-align: center; 11 width: 5em; display: inline-block; }</style> 12 <script type='text/javascript'> 13 //<![CDATA[ 14 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++; } } 15 //]]> 16 </script> 17 </head> 18 <body> 19 <p class="instructions">Test passes if the right-hand character in each pair matches the left-hand one.</p> 20 21 22 <div class="test"> 23 <div>A <span>A</span></div> 24 <div>B <span>B</span></div> 25 <div>C <span>C</span></div> 26 <div>D <span>D</span></div> 27 <div>E <span>E</span></div> 28 <div>F <span>F</span></div> 29 <div>G <span>G</span></div> 30 <div>H <span>H</span></div> 31 <div>I <span>I</span></div> 32 <div>J <span>J</span></div> 33 <div>K <span>K</span></div> 34 <div>L <span>L</span></div> 35 <div>M <span>M</span></div> 36 <div>N <span>N</span></div> 37 <div>O <span>O</span></div> 38 <div>P <span>P</span></div> 39 <div>Q <span>Q</span></div> 40 <div>R <span>R</span></div> 41 <div>S <span>S</span></div> 42 <div>T <span>T</span></div> 43 <div>U <span>U</span></div> 44 <div>V <span>V</span></div> 45 <div>W <span>W</span></div> 46 <div>X <span>X</span></div> 47 <div>Y <span>Y</span></div> 48 <div>Z <span>Z</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>Ö <span>Ö</span></div> 72 <div>Ø <span>Ø</span></div> 73 <div>Ù <span>Ù</span></div> 74 <div>Ú <span>Ú</span></div> 75 <div>Û <span>Û</span></div> 76 <div>Ü <span>Ü</span></div> 77 <div>Ý <span>Ý</span></div> 78 <div>Þ <span>Þ</span></div> 79 <div>Ÿ <span>Ÿ</span></div> 80 </div> 81 82 83 <!--p class="notes">Notes: <br />The <a href='http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-transform'>CSS2 specification</a> only requires that text-transform work for 'the Latin1 repertoire'. It is not clear what characters the term 'Latin1' covers. This test assumes that it means the Basic Latin and Latin-1 Supplement blocks of the Unicode Standard (equivalent to ISO-8859-1). There is one character in this set, ÿ, that only occurs in the lower-case form.</p--> 84 <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> 85 </html>