Bug 1157569 - Reftest for RTL table with border-collapse. r=roc
authorJonathan Kew <jkew@mozilla.com>
Wed, 17 Jun 2015 11:02:57 +0100
changeset 249328 0fd2342bf28ca48196bbc5be4ebc5dca6384845d
parent 249327 9708f0fcc1b0e02a9b5ca2c7ab1236e8bfca22e2
child 249329 54501a80ded17bfc4bff11b8c8be850de1595828
push id28923
push userryanvm@gmail.com
push dateWed, 17 Jun 2015 18:57:11 +0000
treeherdermozilla-central@099d6cd6725e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1157569
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1157569 - Reftest for RTL table with border-collapse. r=roc
layout/reftests/table-bordercollapse/border-collapse-rtl-ref.html
layout/reftests/table-bordercollapse/border-collapse-rtl.html
layout/reftests/table-bordercollapse/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/border-collapse-rtl-ref.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset=utf-8>
+<style>
+table {
+  margin: 10px;
+  border: 3px solid silver;
+  border-right-color: gray;
+  border-bottom-color: gray;
+  border-spacing: 5px;
+  border-collapse: collapse;
+}
+td {
+  border: 5px solid black;
+  width: 50px;
+  height: 20px;
+  text-align: center;
+}
+td.w1 {
+  width: 80px;
+}
+td.w2 {
+  width: 120px;
+}
+tr:nth-child(even) {
+  background: #ffc;
+}
+tr:nth-child(odd) {
+  background: #cff;
+}
+tr:nth-child(1) {
+  background: #fcf;
+}
+</style>
+</head>
+<body>
+
+<table>
+<tr><td>x</td>           <td colspan=3>x</td>                                         </tr>
+<tr><td>x</td>           <td>x</td>          <td class="w1">x</td><td rowspan=3>x</td></tr>
+<tr><td rowspan=2>x</td> <td>x</td>          <td>x</td>                               </tr>
+<tr>                     <td>x</td>          <td>x</td>                               </tr>
+<tr><td class="w2">x</td><td>x</td>          <td>x</td><td>x</td>                     </tr>
+</table>
+
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/table-bordercollapse/border-collapse-rtl.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset=utf-8>
+<style>
+table {
+  margin: 10px;
+  border: 3px solid silver;
+  border-right-color: gray;
+  border-bottom-color: gray;
+  border-spacing: 5px;
+  border-collapse: collapse;
+}
+td {
+  border: 5px solid black;
+  width: 50px;
+  height: 20px;
+  text-align: center;
+}
+td.w1 {
+  width: 80px;
+}
+td.w2 {
+  width: 120px;
+}
+tr:nth-child(even) {
+  background: #ffc;
+}
+tr:nth-child(odd) {
+  background: #cff;
+}
+tr:nth-child(1) {
+  background: #fcf;
+}
+</style>
+</head>
+<body>
+
+<table dir=rtl>
+<tr><td colspan=3>x</td>                               <td>x</td>           </tr>
+<tr><td rowspan=3>x</td><td class="w1">x</td><td>x</td><td>x</td>           </tr>
+<tr>                    <td>x</td>           <td>x</td><td rowspan=2>x</td> </tr>
+<tr>                    <td>x</td>           <td>x</td>                     </tr>
+<tr><td>x</td>          <td>x</td>           <td>x</td><td class="w2">x</td></tr>
+</table>
+
+</body>
+</html>
--- a/layout/reftests/table-bordercollapse/reftest.list
+++ b/layout/reftests/table-bordercollapse/reftest.list
@@ -90,8 +90,9 @@
 == borderhandling-rules-border-cols-strict.html borderhandling-rules-border-cols-strict-ref.html
 == borderhandling-rules-border-all-strict.html borderhandling-rules-border-all-strict-ref.html
 == bordercolor-1.html bordercolor-ref.html
 != bordercolor-2.html bordercolor-ref.html
 == bordercolor-3.html bordercolor-3-ref.html
 == bordercolor-4.html bordercolor-4-ref.html
 == empty-toprow.html empty-toprow-ref.html
 == double_borders.html double_borders_ref.html
+fails == border-collapse-rtl.html border-collapse-rtl-ref.html # see bug 1157569