summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html
new file mode 100644
index 0000000000..5661287503
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<title>CSS Test: overflow:auto 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:auto on table means visible.">
+<link rel="match" href="s-11-1-1b-001-ref.html">
+<style>
+ table { overflow:auto; 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> \ No newline at end of file