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: red; color: green; border: solid green; }
11 .one {background-image: url(support/swatch-green.png); background-repeat: repeat-y;}
12 .two {background-image: url(support/swatch-green.png); background-repeat: repeat-x;}
13 .three {background-image: url(support/swatch-green.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 xxxxxxxxx
22 xxxxxxxxx
23 xxxxxxxxx
24 xxxxxxxxx
25 xxxxxxxxx
26 </div>
27 <div class="two">
28
29 xxxxxxxxxx
30 xxxxxxxxxx
31 xxxxxxxxxx
32 xxxxxxxxxx
33 </div>
34 <div class="three">
35 xxxxxxxxx
36 xxxxxxxxxx
37 xxxxxxxxxx
38 xxxxxxxxxx
39 xxxxxxxxxx
40 </div>
41 </div>
42 </body>
43 </html>