s-11-1-1b-007.html (740B)
1 <!doctype html> 2 <title>CSS Test: overflow:hidden on table with border-spacing overflowing upwards</title> 3 <link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com"> 4 <link rel="help" href="http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.11.1.1b"> 5 <meta name="assert" content="Test checks that overflow:hidden on table applies to the table box rather than the inner border-spacing edge."> 6 <link rel="match" href="s-11-1-1b-007-ref.html"> 7 <style> 8 table { overflow:hidden; border-spacing:10px } 9 td { padding:0 } 10 div { width:20px; height:25px; border-top:solid red 10px; margin-top:-25px; background:black } 11 </style> 12 <p>Test passes if there is a black square below.</p> 13 <table> 14 <tr><td><div></div> 15 </table>