margin-collapse-106-ref.xht (981B)
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 .c {border-top: orange solid 1em;} 24 25 .a {border-top: yellow solid 1em;} 26 27 .b {border-top: lime solid 1em;} 28 ]]></style> 29 30 </head> 31 32 <body> 33 34 <p>Test passes if there is a stack of 5 bands which are <strong>from top to bottom: orange, yellow, orange, lime, orange</strong> and with no red.</p> 35 36 <table> 37 <tr> 38 <td> 39 <div class="c"></div> 40 <div class="a"></div> 41 <div class="c"></div> 42 <div class="b"></div> 43 <div class="c"></div> 44 </td> 45 </tr> 46 </table> 47 48 </body> 49 </html>