background-repeat-repeat-y.xht (1448B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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.xht"/> 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 <![CDATA[ 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>