background-root-011.xht (997B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Background propagation on <body> and <html> - fully transparent</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/08.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background"/> 8 <link rel="match" href="background-root-011-ref.xht" /> 9 10 <style type="text/css"><![CDATA[ 11 body { border: solid lime; background: transparent; } 12 html { border: solid blue; background: transparent; } 13 p, :link, :visited { color: black; background: white; } 14 * { margin: 1em; padding: 1em; } 15 ]]></style> 16 17 </head> 18 <body> 19 <p>Enclosing this text should be a solid lime border around which 20 there should be a solid blue one. The backgrounds are undefined.</p> 21 22 23 </body> 24 </html>