Bug 1361180 - Part 2. Reftest for unresolved mask in svg. r=mstange
authorcku <cku@mozilla.com>
Wed, 03 May 2017 02:18:05 +0800
changeset 357165 ce92201af9b7d2c02b7283a56a82179513252b88
parent 357164 7d6cfbbc07a422fa2bc123cb26e4f49ab6f640d8
child 357166 dfe330725cf7ff795c71c6857a2952fca7322752
push id31783
push usercbook@mozilla.com
push dateTue, 09 May 2017 12:03:48 +0000
treeherdermozilla-central@b0ff0c5c0a35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1361180
milestone55.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 1361180 - Part 2. Reftest for unresolved mask in svg. r=mstange MozReview-Commit-ID: K1mIXWQsq7g
layout/reftests/svg/mask-basic-05.svg
layout/reftests/svg/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/mask-basic-05.svg
@@ -0,0 +1,12 @@
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100" preserveAspectRatio="none">
+  <title>Testcase for mask that can't be resolved</title>
+  <rect width="100%" height="100%" fill="red"/>
+  <g mask="url(#foo)">
+    <!-- Draw a line path with zero area -->
+    <path stroke="lime" stroke-width="200%" d="M0,50L100,50"/>
+  </g>
+</svg>
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -265,16 +265,17 @@ fuzzy-if(skiaContent,1,5) pref(svg.marke
 == marker-orientation-04.svg pass.svg
 
 fuzzy(28,28) == mask-and-clipPath.html mask-and-clipPath-ref.html
 == mask-and-clipPath-2.svg pass.svg
 == mask-basic-01.svg pass.svg
 fuzzy-if(skiaContent,1,10000) == mask-basic-02.svg mask-basic-02-ref.svg
 == mask-basic-03.svg pass.svg
 == mask-basic-04.svg pass.svg
+== mask-basic-05.svg pass.svg
 == mask-containing-masked-content-01.svg pass.svg
 == mask-contains-inner-svg-01.svg pass.svg
 == mask-contains-inner-svg-02.svg pass.svg
 == mask-empty-size.svg about:blank
 == mask-extref-dataURI-01.svg pass.svg
 == mask-img.html mask-img-ref.html
 == mask-on-outflowElement-01a.html clipPath-on-outflowElement-01-ref.html
 == mask-on-outflowElement-01b.html clipPath-on-outflowElement-01-ref.html