c5510-ipadn-000.xht (1323B)
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: padding</title> 5 <meta name="flags" content="ahem image" /> 6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#padding"/> 7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 8 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 9 <link rel="match" href="c5510-ipadn-000-ref.xht" /> 10 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 p { color: navy; } 14 div { margin: 2em 0; } 15 .one { font: 15px/1 Ahem; width: 7em; background: red; } 16 .one p { color: green; background: lime; } 17 .one span { padding: 1em; background: orange; color: yellow; } 18 ]]></style> 19 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties" title="8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and 'padding'"/> 20 </head> 21 <body> 22 <p>The two sweets below should be identical:</p> 23 <div class="one"><p> x <span>x</span> x </p></div> 24 <div><img src="support/css1test5510-i.png" alt="FAIL: Need image support for reference rendering."/></div> 25 </body> 26 </html>