margin-top-applies-to-012-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: blue solid 10px; 15 border-bottom: orange solid 10px; 16 height: 50px; 17 width: 200px; 18 } 19 20 div + div 21 { 22 background-color: transparent; 23 border: none 0px; 24 } 25 ]]></style> 26 27 </head> 28 29 <body> 30 31 <p>Test passes if there is space between the blue and orange lines.</p> 32 33 <div></div> 34 35 <div></div> 36 37 </body> 38 </html>