s-11-1-1b-008.html (821B)
1 <!doctype html> 2 <title>CSS Test: overflow:hidden on fixed layout table with caption 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 fixed layout table applies to the table box rather than the table wrapper box."> 6 <link rel="match" href="s-11-1-1b-001-ref.html"> 7 <style> 8 table { overflow:hidden; border-spacing:0; table-layout:fixed } 9 caption { margin-bottom:10px } 10 td { padding:0 } 11 div { width:20px; height:25px; border-top:solid red 10px; margin-top:-15px; background:black } 12 </style> 13 <p>Test passes if there is a black square below.</p> 14 <table> 15 <caption></caption> 16 <tr><td><div></div> 17 </table>