c5509-ipadn-l-004.xht (2216B)
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-left</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#padding-left"/> 9 <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'"/> 10 <link rel="match" href="c5509-ipadn-l-004-ref.xht" /> 11 12 <meta name="flags" content="ahem image invalid" /> 13 14 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 15 <style type="text/css"><![CDATA[ 16 div { font: 15px/1 Ahem; margin: 1em; background: yellow; } 17 .four { width: 9em; color: yellow; background: orange; } 18 .four span { padding-left: 3em; padding-left: -3em; } 19 ]]></style> 20 </head> 21 <body> 22 <p>The following two bars should be identical:</p> 23 <div class="four"> 24 x<span>x</span>x 25 </div> 26 <p> 27 <img src="support/swatch-white.png" alt="Image download support must be enabled" 28 /><img src="support/swatch-yellow.png" alt="Image download support must be enabled" 29 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 30 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 31 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 32 /><img src="support/swatch-yellow.png" alt="Image download support must be enabled" 33 /><img src="support/swatch-yellow.png" alt="Image download support must be enabled" 34 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 35 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 36 /><img src="support/swatch-orange.png" alt="Image download support must be enabled" 37 /> 38 </p> 39 </body> 40 </html>