Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>CSS Test: overflow:hidden on table with border-spacing overflowing upwards</title>
<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
<meta name="assert" content="Test checks that overflow:hidden on table applies to the table box rather than the inner border-spacing edge.">
<link rel="match" href="s-11-1-1b-007-ref.html">
<style>
table { overflow:hidden; border-spacing:10px }
td { padding:0 }
div { width:20px; height:25px; border-top:solid red 10px; margin-top:-25px; background:black }
</style>
<p>Test passes if there is a black square below.</p>
<table>
<tr><td><div></div>
</table>