Bug 1325865 - Part 2. Reftest. r=longsonr+218550
authorcku <cku@mozilla.com>
Fri, 13 Jan 2017 17:30:38 +0800
changeset 374485 14d1bd98327450774fbb8eca73b8076eb3107bd8
parent 374484 8c24e94982ff872a2397ea572c1451a6d4f5ed30
child 374486 4c2947db3419832adaae416db24d46221c50ca85
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslongsonr
bugs1325865, 218550
milestone53.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 1325865 - Part 2. Reftest. r=longsonr+218550 MozReview-Commit-ID: 6qOX78eco1d
layout/reftests/svg/mask-contains-inner-svg-01.svg
layout/reftests/svg/mask-contains-inner-svg-02.svg
layout/reftests/svg/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/mask-contains-inner-svg-01.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+  <defs>
+    <mask id="myMask">
+      <svg x="50%" overflow="visible">
+        <polygon fill="white" points="-50 0 50 0 50 100 -50 100"/>
+      </svg>
+    </mask>
+  </defs>
+  <rect width="100%" height="100%" fill="lime"/>
+  <circle cx="50%" cy="50" r="40" fill="red"/>
+  <rect mask="url(#myMask)" width="100%" height="100%" fill="lime"/>
+</svg>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/mask-contains-inner-svg-02.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+  <defs>
+    <mask id="myMask">
+      <svg x="25%" overflow="visible">
+        <svg x="25%" overflow="visible">
+          <polygon fill="white" points="-50 0 50 0 50 100 -50 100"/>
+        </svg>
+      </svg>
+    </mask>
+  </defs>
+  <rect width="100%" height="100%" fill="lime"/>
+  <circle cx="50%" cy="50" r="40" fill="red"/>
+  <rect mask="url(#myMask)" width="100%" height="100%" fill="lime"/>
+</svg>
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -462,8 +462,10 @@ default-preferences
 != 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
+== mask-contains-inner-svg-01.svg pass.svg
+== mask-contains-inner-svg-02.svg pass.svg