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