box-generation-002-ref.xht (853B)
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 div#orange-cell 13 { 14 background-color: orange; 15 display: table-cell; 16 width: 0.5in; 17 } 18 19 div#yellow-cell 20 { 21 background-color: blue; 22 display: table-cell; 23 } 24 25 div#block {background-color: yellow;} 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <p>Test passes if the orange stripe is on the left-hand side of the blue stripe and both stripes are above the yellow bar.</p> 33 34 <div id="orange-cell">Float</div><div id="yellow-cell">Inline box</div> 35 36 <div id="block">Block box</div> 37 38 </body> 39 </html>