block-replaced-width-002-ref.xht (873B)
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 div 14 { 15 border: black solid medium; 16 font: 50px/1 Ahem; 17 height: 288px; 18 width: 288px; 19 } 20 21 span#blue {color: blue;} 22 23 span#orange {color: orange;} 24 ]]></style> 25 26 </head> 27 28 <body> 29 30 <p>Test passes if the blue and orange rectangles have the <strong>same width</strong> and the blue rectangle is in the upper-left corner of an hollow black square.</p> 31 32 <div><span id="blue">1234</span> <span id="orange">1234</span> </div> 33 34 </body> 35 </html>