background-root-011-ref.xht (840B)
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 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 html {background-color: transparent;} 13 14 body 15 { 16 background-color: transparent; 17 border: blue solid; 18 margin: 1em; 19 padding: 2em; 20 } 21 22 div 23 { 24 border: lime solid; 25 padding: 2em; 26 } 27 28 div > div 29 { 30 background-color: white; 31 border: none; 32 padding: 1em; 33 } 34 ]]></style> 35 36 </head> 37 38 <body> 39 40 <div> 41 <div>Enclosing this text should be a solid lime border around which 42 there should be a solid blue one. The backgrounds are undefined.</div> 43 </div> 44 45 </body> 46 </html>