c534-bgreps-004.xht (1507B)
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-bgreps-000-ref.xht" /> 10 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 .test { font: 20px/1 Ahem; width: 11em; background: red; color: green; border: solid green; } 14 .one {background-image: url(support/pattern-grg-rgr-grg.png); background-position: top left;} 15 ]]></style> 16 <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'"/> 17 </head> 18 <body> 19 <p>Test passes if there is a filled green rectangle.</p> 20 <div class="test"> 21 <div class="one"> 22  r  r  r  r 23 r rr rr rr  24  r  r  r  r 25  r  r  r  r 26 r rr rr rr  27 </div> 28 </div> 29 </body> 30 </html>