Bug 1430869 - add reftest for border collapse and captions. r=mstange
authorAlexis Beingessner <a.beingessner@gmail.com>
Wed, 25 Apr 2018 11:11:32 -0400
changeset 471803 9536d401ce06feb399bf4b89c295fa3502354882
parent 471802 04465c06888b1375502e4d33c2c7792e09ec6a49
child 471804 1bc7ca9eee85d511ec1ed520e67f75ee2f67342d
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1430869
milestone61.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 1430869 - add reftest for border collapse and captions. r=mstange MozReview-Commit-ID: CrmfZx7rKPV
layout/reftests/bugs/1430869-ref.html
layout/reftests/bugs/1430869.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1430869-ref.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+  <meta charset="UTF-8">
+  <title>Webrender table caption + border-collapse test</title>
+  <style>
+    table, th, td {
+    border: 1px solid;
+    border-collapse: collapse;
+    }
+  </style>
+</head>
+<body>
+
+<div>
+<span>A<br>B</span>
+<table>
+<tbody><tr>
+<td>row 1</td>
+</tr>
+<tr>
+<td>row 2</td>
+</tr>
+<tr>
+<td>row 3</td>
+</tr>
+<tr>
+<td>row 4</td>
+</tr>
+<tr>
+<td>row 5</td>
+</tr>
+</tbody></table>
+</div>
+
+
+</body></html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1430869.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+  <meta charset="UTF-8">
+  <title>Webrender table caption + border-collapse test</title>
+  <style>
+    table, th, td {
+    border: 1px solid;
+    border-collapse: collapse;
+    }
+    caption {
+    text-align: left;
+    }
+  </style>
+</head>
+<body>
+
+<div>
+<table>
+<caption>A<br>B</caption>
+<tbody><tr>
+<td>row 1</td>
+</tr>
+<tr>
+<td>row 2</td>
+</tr>
+<tr>
+<td>row 3</td>
+</tr>
+<tr>
+<td>row 4</td>
+</tr>
+<tr>
+<td>row 5</td>
+</tr>
+</tbody></table>
+</div>
+
+
+</body></html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -2057,13 +2057,14 @@ test-pref(font.size.systemFontScale,200)
 == 1419820-1.html 1419820-1-ref.html
 == 1420946-1.html 1420946-1-ref.html
 == 1422393.html 1422393-ref.html
 == 1424177.html 1424177-ref.html
 == 1424680.html 1424680-ref.html
 == 1424798-1.html 1424798-ref.html
 fuzzy(74,2234) random-if(webrender) == 1425243-1.html 1425243-1-ref.html
 fuzzy-if(Android,66,574) fuzzy-if(d2d,89,777) fuzzy-if(!Android&&!d2d,1,31219) == 1425243-2.html 1425243-2-ref.html
+== 1430869.html 1430869-ref.html
 == 1432541.html 1432541-ref.html
 pref(layout.css.moz-document.url-prefix-hack.enabled,true) == 1446470.html 1035091-ref.html
 pref(layout.css.moz-document.url-prefix-hack.enabled,false) == 1446470-2.html 1035091-ref.html
 test-pref(layout.css.prefixes.gradients,false) == 1451874.html 1451874-ref.html
 fuzzy-if(!(webrender&&gtkWidget),1-2,17500-17500) == 1412375.html 1412375-ref.html