summaryrefslogtreecommitdiffstats
path: root/layout/tables/reftests
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/tables/reftests
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/tables/reftests')
-rw-r--r--layout/tables/reftests/1031934-ref.html27
-rw-r--r--layout/tables/reftests/1031934.html54
-rw-r--r--layout/tables/reftests/1220621-1-ref.html17
-rw-r--r--layout/tables/reftests/1220621-1a.html32
-rw-r--r--layout/tables/reftests/1220621-1b.html31
-rw-r--r--layout/tables/reftests/1220621-1c.html30
-rw-r--r--layout/tables/reftests/1220621-1d.html34
-rw-r--r--layout/tables/reftests/1220621-1e.html34
-rw-r--r--layout/tables/reftests/1220621-1f.html32
-rw-r--r--layout/tables/reftests/1220621-2-ref.html21
-rw-r--r--layout/tables/reftests/1220621-2a.html29
-rw-r--r--layout/tables/reftests/1220621-2b.html32
-rw-r--r--layout/tables/reftests/reftest-stylo.list10
-rw-r--r--layout/tables/reftests/reftest.list9
14 files changed, 392 insertions, 0 deletions
diff --git a/layout/tables/reftests/1031934-ref.html b/layout/tables/reftests/1031934-ref.html
new file mode 100644
index 000000000..660e00a75
--- /dev/null
+++ b/layout/tables/reftests/1031934-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta charset="utf-8">
+ <title>Testcase for bug 1031934</title>
+</head>
+<body>
+
+<table border="1">
+<tbody style="visibility: collapse;">
+</tbody>
+<tbody>
+<tr><td>Hello</td></tr>
+</tbody>
+<tbody style="visibility: collapse;">
+</tbody>
+</table>
+
+<table border="1">
+<tbody></tbody>
+<tbody>
+<tr><td>Hello</td></tr>
+</tbody>
+<tbody></tbody>
+</table>
+
+</body>
+</html>
diff --git a/layout/tables/reftests/1031934.html b/layout/tables/reftests/1031934.html
new file mode 100644
index 000000000..9477e0e79
--- /dev/null
+++ b/layout/tables/reftests/1031934.html
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta charset="utf-8">
+ <title>Testcase for bug 1031934</title>
+ <style type="text/css">
+
+td { display:none; }
+
+ </style>
+</head>
+<body>
+
+<table border="1">
+<tbody style="visibility: collapse;">
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+</tbody>
+<tbody>
+<tr><td></td></tr>
+<tr><td style="display:table-cell">Hello</td></tr>
+<tr><td></td></tr>
+</tbody>
+<tbody style="visibility: collapse;">
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+<tr><td></td></tr>
+</tbody>
+</table>
+
+<table border="1">
+<tbody>
+<tr style="visibility: collapse;"><td></td></tr>
+<tr style="visibility: collapse;"><td></td></tr>
+<tr style="visibility: collapse;"><td></td></tr>
+</tbody>
+<tbody>
+<tr><td></td></tr>
+<tr><td style="display:table-cell">Hello</td></tr>
+<tr><td></td></tr>
+</tbody>
+<tbody style="visibility: collapse;">
+<tr style="visibility: collapse;"><td></td></tr>
+<tr style="visibility: collapse;"><td></td></tr>
+<tr style="visibility: collapse;"><td></td></tr>
+</tbody>
+</table>
+
+</body>
+</html>
diff --git a/layout/tables/reftests/1220621-1-ref.html b/layout/tables/reftests/1220621-1-ref.html
new file mode 100644
index 000000000..bc9e9006c
--- /dev/null
+++ b/layout/tables/reftests/1220621-1-ref.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+</table>
diff --git a/layout/tables/reftests/1220621-1a.html b/layout/tables/reftests/1220621-1a.html
new file mode 100644
index 000000000..70026618a
--- /dev/null
+++ b/layout/tables/reftests/1220621-1a.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the first col
+ document.querySelector("col").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-1b.html b/layout/tables/reftests/1220621-1b.html
new file mode 100644
index 000000000..82ab75544
--- /dev/null
+++ b/layout/tables/reftests/1220621-1b.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the first col
+ document.querySelector("col").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-1c.html b/layout/tables/reftests/1220621-1c.html
new file mode 100644
index 000000000..3d0949abc
--- /dev/null
+++ b/layout/tables/reftests/1220621-1c.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the first col
+ document.querySelector("col").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-1d.html b/layout/tables/reftests/1220621-1d.html
new file mode 100644
index 000000000..cf6291d87
--- /dev/null
+++ b/layout/tables/reftests/1220621-1d.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ </colgroup>
+ <colgroup>
+ <col>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the first colgroup
+ document.querySelector("colgroup").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-1e.html b/layout/tables/reftests/1220621-1e.html
new file mode 100644
index 000000000..44e8b94e2
--- /dev/null
+++ b/layout/tables/reftests/1220621-1e.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ </colgroup>
+ <colgroup>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the one colgroup
+ document.querySelector("colgroup").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-1f.html b/layout/tables/reftests/1220621-1f.html
new file mode 100644
index 000000000..0b5f9a84e
--- /dev/null
+++ b/layout/tables/reftests/1220621-1f.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the one colgroup
+ document.querySelector("colgroup").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-2-ref.html b/layout/tables/reftests/1220621-2-ref.html
new file mode 100644
index 000000000..b6a02820b
--- /dev/null
+++ b/layout/tables/reftests/1220621-2-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ </tbody>
+</table>
diff --git a/layout/tables/reftests/1220621-2a.html b/layout/tables/reftests/1220621-2a.html
new file mode 100644
index 000000000..a66768e0f
--- /dev/null
+++ b/layout/tables/reftests/1220621-2a.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the first col
+ document.querySelector("col").remove();
+</script>
diff --git a/layout/tables/reftests/1220621-2b.html b/layout/tables/reftests/1220621-2b.html
new file mode 100644
index 000000000..379857235
--- /dev/null
+++ b/layout/tables/reftests/1220621-2b.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<style>
+ table {
+ table-layout: fixed;
+ border: 1px solid black;
+ width: 300px;
+ }
+ td {
+ background: yellow;
+ border: 1px solid purple;
+ }
+</style>
+<table>
+ <colgroup>
+ <col>
+ <col>
+ </colgroup>
+ <colgroup>
+ <col>
+ <col>
+ </colgroup>
+ <tbody>
+ <td>One</td>
+ </tbody>
+</table>
+<script>
+ var t = document.querySelector("table");
+ // Flush layout
+ var width = t.offsetWidth;
+ // Remove the first col
+ document.querySelector("colgroup").remove();
+</script>
diff --git a/layout/tables/reftests/reftest-stylo.list b/layout/tables/reftests/reftest-stylo.list
new file mode 100644
index 000000000..b1315a657
--- /dev/null
+++ b/layout/tables/reftests/reftest-stylo.list
@@ -0,0 +1,10 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== 1031934.html 1031934.html
+== 1220621-1a.html 1220621-1a.html
+== 1220621-1b.html 1220621-1b.html
+== 1220621-1c.html 1220621-1c.html
+== 1220621-1d.html 1220621-1d.html
+== 1220621-1e.html 1220621-1e.html
+== 1220621-1f.html 1220621-1f.html
+== 1220621-2a.html 1220621-2a.html
+== 1220621-2b.html 1220621-2b.html
diff --git a/layout/tables/reftests/reftest.list b/layout/tables/reftests/reftest.list
new file mode 100644
index 000000000..f6f7d5bce
--- /dev/null
+++ b/layout/tables/reftests/reftest.list
@@ -0,0 +1,9 @@
+== 1031934.html 1031934-ref.html
+== 1220621-1a.html 1220621-1-ref.html
+== 1220621-1b.html 1220621-1-ref.html
+== 1220621-1c.html 1220621-1-ref.html
+== 1220621-1d.html 1220621-1-ref.html
+== 1220621-1e.html 1220621-1-ref.html
+== 1220621-1f.html 1220621-1-ref.html
+== 1220621-2a.html 1220621-2-ref.html
+== 1220621-2b.html 1220621-2-ref.html