margin-collapse-142-ref.xht (1533B)
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 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 9 10 <style type="text/css"><![CDATA[ 11 table 12 { 13 border: black solid medium; 14 border-spacing: 0px; 15 display: inline-table; 16 margin: 1em 0em auto 1em; 17 } 18 19 td {padding: 0px;} 20 21 td.square { height: 4em; width: 4em; } 22 td.rectangle { height: 4em; width: 8em; } 23 td.lime { background-color: lime; } 24 td.aqua { background-color: aqua; } 25 td.yellow { background-color: yellow; } 26 td.palegreen { background-color: #AFA; } 27 ]]></style> 28 29 </head> 30 31 <body> 32 33 <p>Test passes if there are 2 identical tall rectangles and <strong>no red</strong>.</p> 34 35 <table> 36 <tr> 37 <td class="square aqua"></td> 38 <td class="square lime"></td> 39 </tr> 40 <tr> 41 <td colspan="2" class="rectangle yellow"></td> 42 </tr> 43 <tr> 44 <td colspan="2" class="rectangle lime"></td> 45 </tr> 46 <tr> 47 <td colspan="2" class="rectangle palegreen"></td> 48 </tr> 49 </table><table> 50 <tr> 51 <td class="square aqua"></td> 52 <td class="square lime"></td> 53 </tr> 54 <tr> 55 <td colspan="2" class="rectangle yellow"></td> 56 </tr> 57 <tr> 58 <td colspan="2" class="rectangle lime"></td> 59 </tr> 60 <tr> 61 <td colspan="2" class="rectangle palegreen"></td> 62 </tr> 63 </table> 64 65 </body> 66 </html>