absolute-replaced-width-025-ref.xht (955B)
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 13 { 14 border: black solid medium; 15 height: 288px; 16 width: 288px; 17 } 18 19 img 20 { 21 display: block; 22 height: 100px; 23 margin-bottom: 10px; 24 padding-left: 88px; 25 width: 200px; 26 } 27 28 img + img {height: 96px;} 29 ]]></style> 30 31 </head> 32 33 <body> 34 35 <p>Test passes if the blue and orange rectangles have the same width and the blue rectangle is in the upper-right corner of an hollow black square.</p> 36 37 <div><img src="support/blue15x15.png" alt="Image download support must be enabled" /><img src="support/swatch-orange.png" alt="Image download support must be enabled" /></div> 38 39 </body> 40 </html>