summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-html')
-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-stylo.list3
-rw-r--r--layout/reftests/table-html/reftest.list2
6 files changed, 131 insertions, 0 deletions
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 000000000..2b84dcf3b
--- /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 000000000..2d5a75f49
--- /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 000000000..4b9088d35
--- /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 000000000..2b687cd29
--- /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-stylo.list b/layout/reftests/table-html/reftest-stylo.list
new file mode 100644
index 000000000..bb1436a54
--- /dev/null
+++ b/layout/reftests/table-html/reftest-stylo.list
@@ -0,0 +1,3 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== cell-align-stopped-at-table-1-standards.html cell-align-stopped-at-table-1-standards.html
+== cell-align-stopped-at-table-1-quirks.html cell-align-stopped-at-table-1-quirks.html
diff --git a/layout/reftests/table-html/reftest.list b/layout/reftests/table-html/reftest.list
new file mode 100644
index 000000000..362a96096
--- /dev/null
+++ b/layout/reftests/table-html/reftest.list
@@ -0,0 +1,2 @@
+== 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