Bug 1325038 - Part 2. Reftest for bug 1324809. draft
authorcku <cku@mozilla.com>
Wed, 11 Jan 2017 00:11:42 +0800
changeset 459655 b633d0392eff18e1915071ac8a4eb42cda765280
parent 459654 0236a1a33dca3aa7985f4bc166e2e0aeb03fca8b
child 541956 c9a5829f41ca0ed4e425a25cbcd130d675a3f836
push id41287
push usercku@mozilla.com
push dateThu, 12 Jan 2017 11:53:23 +0000
bugs1325038, 1324809
milestone53.0a1
Bug 1325038 - Part 2. Reftest for bug 1324809. MozReview-Commit-ID: BAP6UkwTV5J
layout/reftests/svg/filter-on-continuation-box-01.html
layout/reftests/svg/filter-on-continuation-box-ref.html
layout/reftests/svg/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/filter-on-continuation-box-01.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<style type="text/css">
+  div {
+    border: 1px solid grey;
+    width: 100px;
+    color: black;
+  }
+</style>
+
+<div>
+  <span id="myspan">Wrapped sentence</span>
+</div>
+
+<script>
+  window.addEventListener("MozReftestInvalidate",
+    function() {
+      document.getElementById("myspan").style.filter = "opacity(50%)";
+      document.documentElement.classList.remove("reftest-wait");
+    }, false);
+</script>
+
+</html>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/filter-on-continuation-box-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<style type="text/css">
+  div {
+    border: 1px solid grey;
+    width: 100px;
+    color: rgba(0,0,0,0.5);
+  }
+</style>
+
+<div>
+  <span id="myspan">Wrapped sentence</span>
+</div>
+
+</html>
\ No newline at end of file
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -460,8 +460,10 @@ default-preferences
 == clipPath-and-mask-on-outflowElement-01b.html clipPath-on-outflowElement-01-ref.html
 
 != nested-mask-mode.svg about:blank
 == mask-empty-size.svg about:blank
 
 == paint-on-maskLayer-1a.html paint-on-maskLayer-1-ref.html
 == paint-on-maskLayer-1b.html paint-on-maskLayer-1-ref.html
 == paint-on-maskLayer-1c.html paint-on-maskLayer-1-ref.html
+
+fuzzy(71,817) == filter-on-continuation-box-01.html filter-on-continuation-box-ref.html