chromium/third_party/blink/web_tests/css2.1/t140201-c537-bgfxps-00-c-ag.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>CSS 2.1 Test Suite: background</title>
  <script src="../resources/ahem.js"></script>
  <style type="text/css">
   html {background: url(support/swatch-blue.png) repeat-x center top fixed;}
   div { font: 15px/1 Ahem; background: red; color: green; width: 11em; margin: 0 0 0 2em; }
   .dummy { color: silver; }
   .one {background: green url(support/swatch-red.png) repeat-y 100% 0%;}
   .two {background: green url(support/swatch-red.png) repeat-y center top;}
   .three {background: green url(support/swatch-red.png) repeat-x left top;}
  </style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
 </head>
 <body>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p>Scroll this document. A line of blue should remain stuck at the
  top of the viewport the whole time, and there should be no red
  below, just a block of green.</p>
  <div class="one">
              X
              X
              X
              X
              X
  </div>
  <div class="two">
         X     
         X     
         X     
         X     
         X     
  </div>
  <div class="three">
    XXXXXXXXXXX
               
               
               
               
  </div>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
  <p class="dummy">Dummy text.</p>
 </body>
</html>