absolute-non-replaced-width-026-ref.xht (696B)
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 {margin: 8px;} 13 14 div 15 { 16 background-color: green; 17 height: 100px; 18 margin-left: auto; 19 margin-right: 0px; 20 width: 100px; 21 } 22 ]]></style> 23 24 </head> 25 26 <body> 27 28 <p>Test passes if there is a green square on the <strong>right side</strong> of this page and if there is <strong>no red</strong>.</p> 29 30 <div></div> 31 32 </body> 33 </html>