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