Bug 1405929 - reftest for border collapsed table. r?dbaron draft
authorYa-Chieh Wu <ywu@mozilla.com>
Mon, 27 Nov 2017 11:51:23 +0800
changeset 703585 f4680431d24dcb5142dc96c938005c90647f1f98
parent 703040 68fbf7b1e5dbfcbaf600185561caa068a5d41581
child 741820 94d46d9f543d828fa3928b5030f6ff7fbb8439bd
push id90872
push userbmo:ywu@mozilla.com
push dateMon, 27 Nov 2017 05:55:12 +0000
reviewersdbaron
bugs1405929
milestone59.0a1
Bug 1405929 - reftest for border collapsed table. r?dbaron MozReview-Commit-ID: Aq2j70scWp
layout/reftests/table-bordercollapse/bug1405929-2-ref.html
layout/reftests/table-bordercollapse/bug1405929-2.html
layout/reftests/table-bordercollapse/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/bug1405929-2-ref.html
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML>
+<title>Bug 1405929 reftest reference</title>
+<style>
+
+table {
+  border-collapse: collapse;
+  display: inline-table;
+  vertical-align: top;
+  margin: 20px;
+  width: 20px;
+}
+
+td {
+  background: green border-box;
+  padding: 20px;
+  width: 10px;
+}
+
+.bb {
+  border-bottom: 5px dashed fuchsia;
+}
+
+</style>
+
+<table>
+  <tbody>
+    <tr>
+      <td>
+      <td>
+    <tr>
+      <td colspan="2" class=bb>
+    <tr>
+      <td colspan="2">
+  </tbody>
+</table>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/bug1405929-2.html
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML>
+<title>Bug 1405929 reftest</title>
+<style>
+
+table {
+  border-collapse: collapse;
+  display: inline-table;
+  vertical-align: top;
+  margin: 20px;
+  width: 20px;
+}
+
+td {
+  background: green border-box;
+  padding: 20px;
+  width: 10px;
+}
+
+.bb {
+  border-bottom: 5px dashed fuchsia;
+}
+
+</style>
+
+<table>
+  <tbody>
+    <tr>
+      <td>
+      <td rowspan="2" class=bb>
+    <tr>
+      <td class=bb>
+    <tr>
+      <td colspan="2">
+  </tbody>
+</table>
--- a/layout/reftests/table-bordercollapse/reftest.list
+++ b/layout/reftests/table-bordercollapse/reftest.list
@@ -1,16 +1,17 @@
 == bug1375518.html bug1375518-ref.html
 == bug1375518-2.html bug1375518-ref.html
 == bug1375518-3.html bug1375518-ref.html
 == bug1375518-4.html bug1375518-4-ref.html
 == bug1375518-5.html bug1375518-5-ref.html
 == bug1379306.html bug1379306-ref.html
 == bug1394226.html bug1394226-ref.html
 != bug1394226.html bug1394226-notref.html
+== bug1405929-2.html bug1405929-2-ref.html
 == bc_dyn_cell1.html bc_dyn_cell1_ref.html
 == bc_dyn_cell2.html bc_dyn_cell2_ref.html
 == bc_dyn_cell3.html bc_dyn_cell3_ref.html
 == bc_dyn_cell4.html bc_dyn_cell4_ref.html
 == bc_dyn_cell5.html bc_dyn_cell5_ref.html
 == bc_dyn_row1.html bc_dyn_rg1_ref.html
 == bc_dyn_row2.html bc_dyn_rg2_ref.html
 == bc_dyn_row3.html bc_dyn_rg3_ref.html