summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css21-errata
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/css21-errata')
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001-ref.html13
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001.html17
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002-ref.html13
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002.html17
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003-ref.html11
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003.html15
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-004.html15
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005-ref.html11
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005.html13
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html15
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007-ref.html11
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007.html15
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-008.html17
-rw-r--r--testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-009.html17
14 files changed, 200 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001-ref.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001-ref.html
new file mode 100644
index 0000000000..04f3a4f916
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001-ref.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<title>Reference for CSS Test: overflow:hidden on table with caption overflowing upwards</title>
+<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
+<style>
+ table { overflow:hidden; border-spacing:0 }
+ caption { margin-bottom:10px }
+ td { padding:0; background:black; width:20px; height:20px }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <caption></caption>
+ <tr><td>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001.html
new file mode 100644
index 0000000000..86f48dbc8c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-001.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<title>CSS Test: overflow:hidden on table with caption 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:hidden on table applies to the table box rather than the table wrapper box.">
+<link rel="match" href="s-11-1-1b-001-ref.html">
+<style>
+ table { overflow:hidden; border-spacing:0 }
+ caption { margin-bottom:10px }
+ td { padding:0 }
+ div { width:20px; height:25px; border-top:solid red 10px; margin-top:-15px; background:black }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <caption></caption>
+ <tr><td><div></div>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002-ref.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002-ref.html
new file mode 100644
index 0000000000..1cff1909a3
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002-ref.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<title>Reference for CSS Test: overflow:hidden on table with caption overflowing downwards</title>
+<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
+<style>
+ table { overflow:hidden; border-spacing:0; margin-top:60px }
+ caption { margin-top:10px; caption-side:bottom }
+ td { padding:0; background:black; width:20px; height:20px }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <caption></caption>
+ <tr><td>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002.html
new file mode 100644
index 0000000000..7ebccffca0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-002.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<title>CSS Test: overflow:hidden on table with bottom caption overflowing downwards</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:hidden on table applies to the table box rather than the table wrapper box.">
+<link rel="match" href="s-11-1-1b-002-ref.html">
+<style>
+ table { overflow:hidden; border-spacing:0 }
+ caption { margin-top:10px; caption-side:bottom }
+ td { padding:0 }
+ div { width:20px; height:25px; border-bottom:solid red 10px; margin-top:-15px; position:relative; top:15px; background:black }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <caption></caption>
+ <tr><td><div></div>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003-ref.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003-ref.html
new file mode 100644
index 0000000000..476e4a075d
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-003-ref.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<title>Reference for CSS Test: overflow:auto on table overflowing upwards</title>
+<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
+<style>
+ table { border-spacing:0; margin-top:-15px }
+ td { padding:0; background:black; width:20px; height:20px }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <tr><td>
+</table> \ No newline at end of file
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
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-004.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-004.html
new file mode 100644
index 0000000000..bc0938815c
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-004.html
@@ -0,0 +1,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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005-ref.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005-ref.html
new file mode 100644
index 0000000000..bdb64fbc22
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005-ref.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<title>Reference for CSS Test: overflow:hidden on table with caption overflowing upwards</title>
+<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
+<style>
+ table { border-spacing:0; position:absolute; top:40px }
+ td { padding:0; background:black; width:20px; height:20px }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <tr><td>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005.html
new file mode 100644
index 0000000000..acf915ddf8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-005.html
@@ -0,0 +1,13 @@
+<!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>
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html
new file mode 100644
index 0000000000..be662d3485
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-006.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<title>CSS Test: overflow:hidden on HTML body 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 HTML body table applies to viewport rather than the table box.">
+<link rel="match" href="s-11-1-1b-005-ref.html">
+<style>
+ body { overflow:hidden; display:table; border-spacing:0; margin:40px 8px 8px }
+ .caption { display:caption; margin-bottom:10px }
+ .td { display:table-cell; width:20px; height:20px; margin-top:-15px; background:black }
+ p { position:absolute; top:0; left:8px }
+</style>
+<div class=caption></div>
+<div class=td></div>
+<p>Test passes if there is a black square below.</p>
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007-ref.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007-ref.html
new file mode 100644
index 0000000000..8afa9e4f1f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007-ref.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<title>Reference for CSS Test: overflow:hidden on table with border-spacing overflowing upwards</title>
+<link rel="author" title="Simon Pieters" href="mailto:simonp@opera.com">
+<style>
+ table { overflow:hidden; border-spacing:10px; margin-top:-10px }
+ td { padding:0; background:black; width:20px; height:20px }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <tr><td>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007.html
new file mode 100644
index 0000000000..51e2f3c9d8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-007.html
@@ -0,0 +1,15 @@
+<!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">
+<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: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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-008.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-008.html
new file mode 100644
index 0000000000..bb31be92e5
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-008.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<title>CSS Test: overflow:hidden on fixed layout table with caption 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:hidden on fixed layout table applies to the table box rather than the table wrapper box.">
+<link rel="match" href="s-11-1-1b-001-ref.html">
+<style>
+ table { overflow:hidden; border-spacing:0; table-layout:fixed }
+ caption { margin-bottom:10px }
+ td { padding:0 }
+ div { width:20px; height:25px; border-top:solid red 10px; margin-top:-15px; background:black }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <caption></caption>
+ <tr><td><div></div>
+</table> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-009.html b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-009.html
new file mode 100644
index 0000000000..ddca9c847f
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css21-errata/s-11-1-1b-009.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<title>CSS Test: overflow:hidden on inline table with caption 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:hidden on inline table applies to the table box rather than the table wrapper box.">
+<link rel="match" href="s-11-1-1b-001-ref.html">
+<style>
+ table { overflow:hidden; border-spacing:0; display:inline-table }
+ caption { margin-bottom:10px }
+ td { padding:0 }
+ div { width:20px; height:25px; border-top:solid red 10px; margin-top:-15px; background:black }
+</style>
+<p>Test passes if there is a black square below.</p>
+<table>
+ <caption></caption>
+ <tr><td><div></div>
+</table> \ No newline at end of file