background-attachment-009

Background Positioning Test

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html lang="en">
 3  <head>
 4   <title>CSS Test: Background Positioning Test</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/block/005.html" type="text/html">
 8   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
 9   <style type="text/css">
10    div {
11      background: url(support/swatch-red.png)
12                  1em repeat-y;
13    }
14    img { display: block; margin: 0 0 0 1em; width: 4em; height: 4em; }
15   </style>
16  </head>
17  <body>
18   <p>There should be a lime square below and no red.</p>
19   <div><img src="support/swatch-lime.png" alt="FAIL"></div>
20  </body>
21 </html>