c534-bgre-001.xht (2405B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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 <link rel="match" href="c534-bgre-000-ref.xht" /> 10 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 .test { font: 15px/1 Ahem; width: 10em; background: green; color: green; border: solid green; } 14 .one {background-image: url(support/swatch-red.png); background-repeat: repeat-y;} 15 .two {background-image: url(support/swatch-red.png); background-repeat: repeat-x;} 16 .three {background-image: url(support/swatch-red.png); background-repeat: no-repeat;} 17 ]]></style> 18 <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'"/> 19 </head> 20 <body> 21 <p>Test passes if there is a filled green rectangle.</p> 22 <div class="test"> 23 <div class="one"> 24 z          25 z          26 z          27 z          28 z          29 </div> 30 <div class="two"> 31 zzzzzzzzzz 32            33            34            35            36 </div> 37 <div class="three"> 38 z          39            40            41            42            43 </div> 44 </div> 45 </body> 46 </html>