c42-ibx-ht-000.xht (1496B)
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: Inline Elements</title> 5 6 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 8 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-27 --> 9 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#inline-elements"/> 10 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" title="10.8.1 Leading and half-leading"/> 11 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-non-replaced" title="10.6.1 Inline, non-replaced elements"/> 12 <link rel="match" href="c42-ibx-ht-000-ref.xht" /> 13 14 <meta name="flags" content="ahem" /> 15 16 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 17 <style type="text/css"><![CDATA[ 18 div { width: 20em; font: 10px/12px Ahem; color: green; } 19 span { border: solid 10px lime; padding: 2px 0 2px 10px; margin: 10px 10px 0 0; } 20 em { font: 1em/1 Ahem; color: red; } 21 ]]></style> 22 </head> 23 <body> 24 <p>There should be no red below, only green lines and dots.</p> 25 <div> 26 z z <em> x x x x x x x x x x </em> <span> <em> x x x x x x x x x x 27 x x x </em> y y y y y y y y y </span> y y y y y y y y y y z z z z 28 </div> 29 </body> 30 </html>