c534-bgreps-000

background-repeat

WeasyPrint

This browser

Flags
ahem, image

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-repeat</title>
 5   <meta name="flags" content="ahem image">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#background-repeat">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    .test { font: 20px/1 Ahem; width: 11em; background: red; color: green; border: solid green; }
11    .one {background-image: url(support/pattern-grg-rgr-grg.png); background-position: 50% 50%; background-repeat: repeat-y;}
12   </style>
13   <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'">
14  </head>
15  <body>
16   <p>There should be a green block below.</p>
17   <div class="test">
18    <div class="one">
19     xxxx&nbsp;x&nbsp;xxxx
20     xxxx&nbsp;x&nbsp;xxxx
21     xxxxx&nbsp;xxxxx
22     xxxx&nbsp;x&nbsp;xxxx
23     xxxx&nbsp;x&nbsp;xxxx
24    </div>
25   </div>
26  </body>
27 </html>