background-root-017-ref.xht (992B)
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-color: green; 23 border: lime solid; 24 padding: 3em; 25 } 26 27 strong 28 { 29 margin: 0em 1em; 30 padding: 1em; 31 } 32 ]]></style> 33 34 </head> 35 36 <body> 37 38 <div>This paragraph should be a box that is green with a green border, which should be in a navy box with a bright blue border. The rest of the page should also be navy. <strong>The outer sea of blue should extend to the edges of the viewport, but the boxes should just wrap around this text and not grow to match the viewport.</strong></div> 39 40 </body> 41 </html>