Bug 1495791 - Add a reftest.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Tue, 20 Nov 2018 14:18:25 +0100
changeset 506476 5df0edf84a229f28caf8de076344d499165a6ed3
parent 506475 55d9c869610101ebe70367d525e87c44f75efdc0
child 506477 3fee9c5dc2c258a40f542cf5040b46447d1cffa8
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1495791
milestone65.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 1495791 - Add a reftest. Before https://github.com/servo/webrender/pull/3315 this rendered a red square under the green square on WR.
layout/reftests/bugs/1495791-ref.html
layout/reftests/bugs/1495791.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1495791-ref.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<style>
+  html, body { margin: 0 }
+  div {
+    width: 100px;
+    height: 100px;
+    background: lime;
+  }
+</style>
+<div></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1495791.html
@@ -0,0 +1,32 @@
+<!doctype html>
+<style>
+html, body { margin: 0; }
+
+#clip {
+  height: 100px;
+  width: 100px;
+  background: lime;
+  clip: rect(0, auto, auto, 0);
+  position: absolute;
+}
+
+#fixed {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100px;
+  height: 100px;
+}
+
+#clipped {
+  height: 100px;
+  width: 100px;
+  background: red;
+  transform: translateY(100px);
+}
+</style>
+<div id="clip">
+  <div id="fixed">
+    <div id="clipped"></div>
+  </div>
+</div>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -2090,8 +2090,9 @@ fuzzy(0-1,0-625) == 1466638-1.html 14666
 == bug1472465-1.html bug1472465-1-ref.html
 == 1475971-1.html 1475971-1-ref.html
 == 1483649-1.xul 1483649-1-ref.xul
 test-pref(layout.css.contain.enabled,true) == 1483946.html 1483946-ref.html
 test-pref(layout.css.visited_links_enabled,false) == 1488155.html 1488155-ref.html
 == 1492660-1.html 1492660-1-ref.html
 pref(layout.css.supports-selector.enabled,true) == 1499386.html 1499386-ref.html
 pref(layout.css.supports-selector.enabled,false) != 1499386.html 1499386-ref.html
+== 1495791.html 1495791-ref.html