chromium/third_party/blink/web_tests/css2.1/t0804-c5510-padn-00-b-ag.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>CSS 2.1 Test Suite: padding</title>
  <script src="../resources/ahem.js"></script>
  <style type="text/css">
   body { color: navy; }
   div { font: 10px/1 Ahem; width: 138px; color: orange; }
   img { vertical-align: bottom; }
   .zero {padding: 0; border: solid 24px yellow; background-color: red;}
   .one {padding: 0.25in; background-color: yellow;}
   .two {padding: 24px; background-color: yellow;}
   .three {padding: 2.4em; background-color: yellow;}
   .four {padding: 17.391%; background-color: yellow;}
  </style>
  <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'">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths">
 </head>
 <body>
  <p>The five diagrams below should be identical.</p>
  <div>
   <p class="zero">
      <img width="10" alt="" src="support/swatch-orange.png" height="10"><img width="10" alt="" src="support/swatch-yellow.png" height="10"><img width="10" alt="" src="support/swatch-orange.png" height="10"><img width="10" alt="" src="support/swatch-yellow.png" height="10"><img width="10" alt="" src="support/swatch-orange.png" height="10"><img width="10" alt="" src="support/swatch-yellow.png" height="10"><img width="10" alt="" src="support/swatch-orange.png" height="10"><img width="10" alt="" src="support/swatch-yellow.png" height="10"><img width="10" alt="" src="support/swatch-orange.png" height="10">
   </p>
   <p class="one">
    x x x x x
   </p>
   <p class="two">
    x x x x x
   </p>
   <p class="three">
    x x x x x
   </p>
   <p class="four">
    x x x x x
   </p>
  </div>
 </body>
</html>