summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/table-html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/table-html')
-rw-r--r--layout/reftests/table-html/bug1379306-2-ref.html21
-rw-r--r--layout/reftests/table-html/bug1379306-2.html21
-rw-r--r--layout/reftests/table-html/bug1379306-3-ref.html23
-rw-r--r--layout/reftests/table-html/bug1379306-3.html23
-rw-r--r--layout/reftests/table-html/cell-align-stopped-at-table-1-quirks-ref.html31
-rw-r--r--layout/reftests/table-html/cell-align-stopped-at-table-1-quirks.html31
-rw-r--r--layout/reftests/table-html/cell-align-stopped-at-table-1-standards-ref.html32
-rw-r--r--layout/reftests/table-html/cell-align-stopped-at-table-1-standards.html32
-rw-r--r--layout/reftests/table-html/reftest.list4
9 files changed, 218 insertions, 0 deletions
diff --git a/layout/reftests/table-html/bug1379306-2-ref.html b/layout/reftests/table-html/bug1379306-2-ref.html
new file mode 100644
index 0000000000..323969dfa3
--- /dev/null
+++ b/layout/reftests/table-html/bug1379306-2-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<title>Table Row Testcase, bug 1379306</title>
+<style>
+
+table { background: yellow }
+td { height: 50px; width: 200px; background: aqua; }
+div { background: fuchsia; height: 10px; width: 20px }
+
+tr { position: relative; border: 30px solid blue; }
+div { position: absolute; top: 0; left: 0 }
+
+</style>
+<h1>Table Row Testcase, bug 1379306</h1>
+
+<table>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+</table>
diff --git a/layout/reftests/table-html/bug1379306-2.html b/layout/reftests/table-html/bug1379306-2.html
new file mode 100644
index 0000000000..2d1948c1c0
--- /dev/null
+++ b/layout/reftests/table-html/bug1379306-2.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<title>Testcase, bug 1379306</title>
+<style>
+
+table { background: yellow }
+td { height: 50px; width: 200px; background: aqua; }
+div { background: fuchsia; height: 10px; width: 20px }
+
+tr { position: relative; border: 10px solid blue }
+div { position: absolute; top: 0; left: 0 }
+
+</style>
+<h1>Table Row Testcase, bug 1379306</h1>
+
+<table>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+</table>
diff --git a/layout/reftests/table-html/bug1379306-3-ref.html b/layout/reftests/table-html/bug1379306-3-ref.html
new file mode 100644
index 0000000000..461b2e8b6e
--- /dev/null
+++ b/layout/reftests/table-html/bug1379306-3-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<title>Testcase, bug 1379306</title>
+<style>
+
+table { background: yellow }
+td { height: 50px; width: 200px; background: aqua; }
+div { background: fuchsia; height: 10px; width: 20px }
+
+tbody { position: relative; border: 30px solid blue }
+div { position: absolute; top: 0; left: 0 }
+
+</style>
+<h1>Table Row Group Testcase, bug 1379306</h1>
+
+<table>
+ <tbody>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+ </tbody>
+</table>
diff --git a/layout/reftests/table-html/bug1379306-3.html b/layout/reftests/table-html/bug1379306-3.html
new file mode 100644
index 0000000000..966d03946d
--- /dev/null
+++ b/layout/reftests/table-html/bug1379306-3.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<title>Testcase, bug 1379306</title>
+<style>
+
+table { background: yellow }
+td { height: 50px; width: 200px; background: aqua; }
+div { background: fuchsia; height: 10px; width: 20px }
+
+tbody { position: relative; border: 10px solid blue }
+div { position: absolute; top: 0; left: 0 }
+
+</style>
+<h1>Table Row Group Testcase, bug 1379306</h1>
+
+<table>
+ <tbody>
+ <tr>
+ <td>
+ <div></div>
+ </td>
+ </tr>
+ </tbody>
+</table>
diff --git a/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks-ref.html b/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks-ref.html
new file mode 100644
index 0000000000..2b84dcf3b7
--- /dev/null
+++ b/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks-ref.html
@@ -0,0 +1,31 @@
+<title>Testcase, bug 196292</title>
+<meta charset="UTF-8">
+
+<table border width="500">
+ <tr>
+ <td>
+ <p style="text-align: left">Left</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p style="text-align: center">Center</p>
+ <table border width="300" style="margin-left: auto; margin-right: auto">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p style="text-align: right">Right</p>
+ <table border width="300" style="margin-left: auto">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
diff --git a/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks.html b/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks.html
new file mode 100644
index 0000000000..2d5a75f49f
--- /dev/null
+++ b/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks.html
@@ -0,0 +1,31 @@
+<title>Testcase, bug 196292</title>
+<meta charset="UTF-8">
+
+<table border width="500">
+ <tr>
+ <td align="left">
+ <p>Left</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td align="center">
+ <p>Center</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ <p>Right</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
diff --git a/layout/reftests/table-html/cell-align-stopped-at-table-1-standards-ref.html b/layout/reftests/table-html/cell-align-stopped-at-table-1-standards-ref.html
new file mode 100644
index 0000000000..4b9088d35d
--- /dev/null
+++ b/layout/reftests/table-html/cell-align-stopped-at-table-1-standards-ref.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<title>Testcase, bug 196292</title>
+<meta charset="UTF-8">
+
+<table border width="500">
+ <tr>
+ <td>
+ <p style="text-align: left">Left</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p style="text-align: center">Center</p>
+ <table border width="300" style="margin-left: auto; margin-right: auto">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p style="text-align: right">Right</p>
+ <table border width="300" style="margin-left: auto">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
diff --git a/layout/reftests/table-html/cell-align-stopped-at-table-1-standards.html b/layout/reftests/table-html/cell-align-stopped-at-table-1-standards.html
new file mode 100644
index 0000000000..2b687cd29c
--- /dev/null
+++ b/layout/reftests/table-html/cell-align-stopped-at-table-1-standards.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<title>Testcase, bug 196292</title>
+<meta charset="UTF-8">
+
+<table border width="500">
+ <tr>
+ <td align="left">
+ <p>Left</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td align="center">
+ <p>Center</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ <p>Right</p>
+ <table border width="300">
+ <tr><th>Center</th></tr>
+ <tr><td>Left</td></tr>
+ </table>
+ </td>
+ </tr>
diff --git a/layout/reftests/table-html/reftest.list b/layout/reftests/table-html/reftest.list
new file mode 100644
index 0000000000..9fbd51aa35
--- /dev/null
+++ b/layout/reftests/table-html/reftest.list
@@ -0,0 +1,4 @@
+== cell-align-stopped-at-table-1-standards.html cell-align-stopped-at-table-1-standards-ref.html
+== cell-align-stopped-at-table-1-quirks.html cell-align-stopped-at-table-1-quirks-ref.html
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == bug1379306-2.html bug1379306-2-ref.html # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == bug1379306-3.html bug1379306-3-ref.html # Bug 1392106