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: 15px/1 Ahem; width: 10em; background: green; color: green; border: solid green; }
11 .one {background-image: url(support/swatch-red.png); background-repeat: repeat-y;}
12 .two {background-image: url(support/swatch-red.png); background-repeat: repeat-x;}
13 .three {background-image: url(support/swatch-red.png); background-repeat: no-repeat;}
14 </style>
15 <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'">
16 </head>
17 <body>
18 <p>There should be a green block below.</p>
19 <div class="test">
20 <div class="one">
21 z
22 z
23 z
24 z
25 z
26 </div>
27 <div class="two">
28 zzzzzzzzzz
29
30
31
32
33 </div>
34 <div class="three">
35 z
36
37
38
39
40 </div>
41 </div>
42 </body>
43 </html>