summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-004.html
blob: bc0938815cc96e2b903e4c6379c2b98c428ace4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<title>CSS Test: overflow:scroll on table overflowing upwards</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:scroll on table means visible.">
<link rel="match" href="s-11-1-1b-001-ref.html">
<style>
 table { overflow:scroll; border-spacing:0 }
 td { padding:0 }
 div { width:20px; height:20px; margin-top:-15px; background:black }
</style>
<p>Test passes if there is a black square below.</p>
<table>
 <tr><td><div></div>
</table>