margin-collapse-115-ref.xht (980B)
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 table 13 { 14 border: solid 3px; 15 border-spacing: 0; 16 font-size: 50px; 17 } 18 19 td {padding: 0;} 20 21 div {width: 2em;} 22 23 .a {border-top: yellow solid 1em;} 24 25 .b {border-top: orange solid 2em;} 26 27 .c {border-top: lime solid 1em;} 28 29 .d {border-top: aqua solid 1em;} 30 ]]></style> 31 32 </head> 33 34 <body> 35 36 <p>Test passes if there is a stack of 4 bands which are <strong>from top to bottom: yellow, orange, lime, aqua</strong> and with no red.</p> 37 38 <table> 39 <tr> 40 <td> 41 <div class="a"></div> 42 <div class="b"></div> 43 <div class="c"></div> 44 <div class="d"></div> 45 </td> 46 </tr> 47 </table> 48 49 </body> 50 </html>