clear-clearance-calculation-005-ref.xht (871B)
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 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 body {margin: 8px;} 14 15 div 16 { 17 background-color: green; 18 color: orange; 19 font: 100px/1 Ahem; 20 margin: 118px 0px 0px; 21 } 22 23 p {margin: 1em 0em;} 24 ]]></style> 25 26 </head> 27 28 <body> 29 30 <div>XX</div> 31 32 <p>Test passes if there is above an orange rectangle and a wide green rectangle side by side, touching each other. The top of the orange rectangle should be flush with the top of the green rectangle. There should be no red.</p> 33 34 </body> 35 </html>