c42-ibx-pad-000.xht (1704B)
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="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 --> 8 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 9 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#inline-elements"/> 10 <link rel="match" href="c42-ibx-pad-000-ref.xht" /> 11 12 <meta name="flags" content="ahem image" /> 13 14 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 15 <style type="text/css"><![CDATA[ 16 div { font: 10px/240% Ahem; color: black; width: 200px; margin: 0 0 0 10px; } 17 span { border: solid 10px blue; padding: 2px 20px 2px 10px; margin: 40px 30px 0 40px; } 18 td { padding: 0; border: 2px solid black; } 19 img { display: block; } 20 .control { background: red; color: yellow; } 21 ]]></style> 22 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" title="9.4.2 Inline formatting context"/> 23 </head> 24 <body> 25 <p>Test passes if the 2 diagrams are <strong>identical</strong> and with <strong>no red</strong>.</p> 26 <table> 27 <tr> 28 <td> 29 <div> 30 1 2 3 4 5 6 7 8 9 0 31 1 2 3 <span> 7 8 9 0 32 1 2 3 4 5 6 7 8 9 0 33 1 2 3 4 </span> 8 9 0 34 1 2 3 4 5 6 7 8 9 0 35 </div> 36 </td> 37 <td class="control"> 38 <img src="support/css1test42a.png" alt="FAIL: Images required for this test."/> 39 </td> 40 </tr> 41 </table> 42 </body> 43 </html>