background-repeat-round.xht (1628B)
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 Reference: background-repeat:round</title> 5 <link rel="author" title="Jeffrey Carl Faden" href="http://www.jeffreyatw.com/" /> 6 <style type="text/css"> 7 <![CDATA[ 8 div { 9 height: 210px; 10 width: 236px; 11 } 12 div > img { 13 float: left; 14 height: 68px; 15 width: 118px; 16 } 17 ]]> 18 </style> 19 </head> 20 <body> 21 <p><img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/></p> 22 <p>Test passes if the above image repeats in the below rectangle 6 times exactly: 2 columns, 3 rows. The top border of the containing rectangle should be orange, the right border yellow, the bottom border green, and the left border blue.</p> 23 <p>Test fails if the above image repeats in below rectangle more than 6 times, with partial images lining the right and the bottom.</p> 24 <div> 25 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 26 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 27 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 28 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 29 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 30 <img src="support/rectangle-96x60.png" alt="Image download support must be enabled"/> 31 </div> 32 </body> 33 </html>