floats-028-ref.xht (804B)
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 div#wrapper { 12 border: solid 5px black; 13 height: 2in; 14 margin: 0.25in; 15 position: absolute; 16 top: 10px; 17 width: 2in; 18 } 19 20 div > div { 21 background-color: blue; 22 height: 120px; 23 width: 120px; 24 } 25 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <p>Test passes if the blue square is completely contained within the hollow black square.</p> 33 34 <div id="wrapper"> 35 <div>Filler Text</div> 36 </div> 37 38 </body> 39 </html>