1
0
Fork 0
firefox/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
757 B
HTML

<!doctype html>
<title>CSS Test: overflow:hidden on root element table</title>
<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
<link rel="help" href="http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.11.1.1b">
<meta name="assert" content="Test checks that overflow on root table applies to viewport rather than the table box.">
<link rel="match" href="s-11-1-1b-005-ref.html">
<style>
html { overflow:hidden; display:table; border-spacing:0; background:white; margin:40px 8px 8px }
head { display:caption; margin-bottom:10px }
body { display:table-cell; width:20px; height:20px; margin-top:-15px; background:black }
p { position:absolute; top:0 }
</style>
<p>Test passes if there is a black square below.</p>