c61-ex-len-000.xht (1500B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Length Units</title> 5 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 6 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 --> 8 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#length-units"/> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths"/> 10 <link rel="match" href="c61-ex-len-000-ref.xht" /> 11 12 <meta name="flags" content="ahem" /> 13 14 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 15 <style type="text/css"><![CDATA[ 16 table { margin: 1em 5em; } 17 td { padding: 4px; vertical-align: top; } 18 .control { font: 40px/1 Ahem; color: navy; } 19 .test { font: 40px/1 Ahem; border-top: 1ex solid navy; width: 1em; } 20 ]]></style> 21 </head> 22 <body> 23 <p>Test passes if the 2 small rectangles have the <strong>same height</strong>.</p> 24 <table> 25 <tr> 26 <td> 27 <div class="control"> É </div> 28 </td> 29 <td> 30 <div class="test"> </div> 31 </td> 32 </tr> 33 </table> 34 35 <!-- 36 Latin capital letter E with acute É É É É 37 http://htmlhelp.com/reference/html40/entities/latin1.html 38 --> 39 40 </body> 41 </html>