background-root-010-ref.xht (938B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Reftest Reference</title> 8 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 9 10 <style type="text/css"><![CDATA[ 11 body 12 { 13 background: url("support/square-white.png") 2px 2px; 14 border: blue solid; 15 color: white; 16 margin: 1em; 17 padding: 2em; 18 } 19 20 div 21 { 22 background: green url("support/square-purple.png") repeat-y top left; 23 border: lime solid; 24 padding: 3em; 25 } 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <div>This text should in a green box with a green border, on the inside 33 left of which there should be a vertical line of purple tiles. The 34 box should be surrounded by a blue rectangle drawn on a background of 35 white tiles that covers the entire rest of the page.</div> 36 37 </body> 38 </html>