margin-collapse-017-ref.xht (728B)
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 background-color: blue; 15 height: 20px; 16 margin-top: 60px; 17 width: 60px; 18 } 19 20 div + div 21 { 22 border-top: black solid 3px; 23 height: auto; 24 margin-top: auto; 25 width: auto; 26 } 27 ]]></style> 28 29 </head> 30 31 <body> 32 33 <p>Test passes if the blue stripe is touching the line and there is <strong>no red</strong>.</p> 34 35 <div></div> 36 37 <div></div> 38 39 </body> 40 </html>