block-non-replaced-width-004-ref.xht (755B)
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 body {direction: rtl;} 13 14 p {direction: ltr;} 15 16 div 17 { 18 height: 30px; 19 width: 150px; 20 } 21 22 div#orange {background-color: orange;} 23 24 div#blue 25 { 26 background-color: blue; 27 position: absolute; 28 } 29 ]]></style> 30 31 </head> 32 33 <body> 34 35 <p>Test passes if the orange and blue rectangles have the <strong>same width</strong>.</p> 36 37 <div id="orange"></div> 38 39 <div id="blue"></div> 40 41 </body> 42 </html>