s-11-1-1b-005.html (757B)
1 <!doctype html> 2 <title>CSS Test: overflow:hidden on root element table</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 on root table applies to viewport rather than the table box."> 6 <link rel="match" href="s-11-1-1b-005-ref.html"> 7 <style> 8 html { overflow:hidden; display:table; border-spacing:0; background:white; margin:40px 8px 8px } 9 head { display:caption; margin-bottom:10px } 10 body { display:table-cell; width:20px; height:20px; margin-top:-15px; background:black } 11 p { position:absolute; top:0 } 12 </style> 13 <p>Test passes if there is a black square below.</p>