absolute-replaced-height-008-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 div 13 { 14 border-top: black solid medium; 15 margin-bottom: 96px; 16 } 17 18 div + div 19 { 20 background-color: blue; 21 border-top: none 0px; 22 height: 15px; 23 width: 30px; 24 } 25 ]]></style> 26 27 </head> 28 29 <body> 30 31 <p>Test passes if there is a short blue bar and it does not touch the black line.</p> 32 33 <div></div> 34 35 <div></div> 36 37 </body> 38 </html>