inlines-017.xht (1125B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 3 <head> 4 <title>CSS Test: First line alignment</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-10-26 --> 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/017.html" type="text/html"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes" /> 9 <link rel="match" href="inlines-017-ref.xht" /> 10 11 <meta name="flags" content="ahem"/> 12 13 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 14 <style type="text/css"> 15 div {font: 1.25em/1 Ahem; width: 10em;} 16 span { color: teal; border-left: 1em teal solid; padding-left: 1em; line-height: 2; } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if there is a perfect five by five grid of dots.</p> 21 <div> 22 <span> x x x x x x x x x x x x x x x x x x x x x x x x </span> 23 </div> 24 </body> 25 </html>