background-root-014b-ref.xht (846B)
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-color: navy; 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") no-repeat fixed center; 23 border: lime solid; 24 padding: 3em; 25 } 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <div>In the exact middle of this page, there should be a purple tile. The tile must only be visible when the green box overlaps the tile; it must be hidden when overlapping the blue background.</div> 33 34 </body> 35 </html>