background-bg-pos-208

Background Position: bottom right and the viewport

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3 <head>
 4 <title>CSS Test: Background Position: bottom right and the viewport</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/bg-pos-6.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
 8 <style type="text/css">
 9    html { background: bottom right url(support/diamond.png) scroll white no-repeat; color: black; }
10    html, body { margin: 0; border: 0; padding: 0; }
11    p { margin: 2em 0 0 0; }
12 </style>
13 
14 </head>
15 <body>
16 <p>There should be a single fuchsia diamond at the right of the viewport at the end of this line.</p></body>
17 </html>