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:repeat-y</title>
5 <link rel="author" title="Jeffrey Carl Faden" href="http://www.jeffreyatw.com/">
6 <link rel="reviewer" title="Gerard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
7 <link rel="match" href="reference/background-repeat-repeat-y.htm">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-repeat">
9 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-repeat">
10 <meta name="flags" content="image">
11 <meta name="assert" content="The image is repeated vertically as often as needed to cover the background painting area.">
12 <style type="text/css">
13
14 div {
15 background-color: grey;
16 background-image: url("support/rectangle-96x60.png");
17 background-repeat: repeat-y;
18 height: 150px;
19 width: 240px;
20 }
21
22 </style>
23 </head>
24 <body>
25 <p><img src="support/rectangle-96x60.png" alt="Image download support must be enabled"></p>
26 <p>Test passes if the above image repeats vertically in the below rectangle 2½ times exactly. There should be a grey area to the right of the images, but not below them.</p>
27 <div></div>
28 </body>
29 </html>