1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/marker-effects-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg"> 1.9 + <title>Test that clip-path, filter, mask and opacity apply to marker elements</title> 1.10 + <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=874507 --> 1.11 + <defs> 1.12 + <clipPath id="c"> 1.13 + <circle cx="50" cy="50" r="50"/> 1.14 + </clipPath> 1.15 + <filter id="f"> 1.16 + <feColorMatrix type="saturate" values="0"/> 1.17 + </filter> 1.18 + <mask id="m"> 1.19 + <circle cx="50" cy="50" r="50" fill="white"/> 1.20 + </mask> 1.21 + <marker id="m-clip-path" markerWidth="100" markerHeight="100" fill="green" clip-path="url(#c)"> 1.22 + <rect width="100" height="100"/> 1.23 + </marker> 1.24 + <marker id="m-filter" markerWidth="100" markerHeight="100" fill="green" filter="url(#f)"> 1.25 + <rect width="100" height="100"/> 1.26 + </marker> 1.27 + <marker id="m-mask" markerWidth="100" markerHeight="100" fill="green" mask="url(#m)"> 1.28 + <rect width="100" height="100"/> 1.29 + </marker> 1.30 + <marker id="m-opacity" markerWidth="100" markerHeight="100" fill="green" opacity="0.5"> 1.31 + <rect width="100" height="100"/> 1.32 + </marker> 1.33 + </defs> 1.34 + 1.35 + <line x1="10" y1="10" x2="11" y2="10" marker-start="url(#m-clip-path)"/> 1.36 + <line x1="120" y1="10" x2="121" y2="10" marker-start="url(#m-filter)"/> 1.37 + <line x1="230" y1="10" x2="231" y2="10" marker-start="url(#m-mask)"/> 1.38 + <line x1="340" y1="10" x2="341" y2="10" marker-start="url(#m-opacity)"/> 1.39 +</svg>