Bug 1305636 - Part 3. Reftest. r=mstange

MozReview-Commit-ID: INf6F7eqVgD

--HG--
extra : rebase_source : 038f75ba4bdf3a0e422951dfdf106fbfc0727543
extra : source : 296a2c1333a784823d8a7eac680c4a2b03c25b02
This commit is contained in:
cku 2016-09-27 19:41:41 +08:00
parent ec6eae0d07
commit 3c7e1e7013
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<rect width="50" height="100" fill="blue" fill-opacity="0.5"/>
</svg>

After

Width:  |  Height:  |  Size: 138 B

View File

@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
<title>Testcase for the combination of mask, clipPath and opacity</title>
<defs>
<mask id="m1" maskContentUnits="objectBoundingBox" style="mask-type: alpha;">
<rect width="1" height="1" style="stroke:#ffffff; fill: #ffffff; opacity: 0.5;" mask="url(#m2)"/>
</mask>
<mask id="m2" maskContentUnits="objectBoundingBox" style="mask-type: alpha;">
<rect width="0.5" height="1" style="stroke:none; fill: #ffffff"/>
</mask>
</defs>
<rect width="100" height="100" fill="blue" mask="url(#m1)"/>
</svg>

After

Width:  |  Height:  |  Size: 595 B

View File

@ -442,3 +442,5 @@ skip-if(Android) pref(layout.css.mix-blend-mode.enabled,true) == blend-differenc
== use-localRef-fill-01.svg use-localRef-fill-01-ref.svg
== use-localRef-stroke-01.svg use-localRef-stroke-01-ref.svg
== use-localRef-mask-01.svg use-localRef-mask-01-ref.svg
fuzzy(1,5000) == mask-opacity-01.svg mask-opacity-01-ref.svg