Backed out changeset 57d71ba078d7 (bug 1932390) for causing wpt failures @ failures_A...
[gecko.git] / layout / reftests / svg / marker-effects-01.svg
blobb438b0725ad46ef2377ce1a66075986e296c2b72
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg">
6 <title>Test that clip-path, filter, mask and opacity apply to marker elements</title>
7 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=874507 -->
8 <defs>
9 <clipPath id="c">
10 <circle cx="50" cy="50" r="50"/>
11 </clipPath>
12 <filter id="f">
13 <feColorMatrix type="saturate" values="0"/>
14 </filter>
15 <mask id="m">
16 <circle cx="50" cy="50" r="50" fill="white"/>
17 </mask>
18 <marker id="m-clip-path" markerWidth="100" markerHeight="100" fill="green" clip-path="url(#c)">
19 <rect width="100" height="100"/>
20 </marker>
21 <marker id="m-filter" markerWidth="100" markerHeight="100" fill="green" filter="url(#f)">
22 <rect width="100" height="100"/>
23 </marker>
24 <marker id="m-mask" markerWidth="100" markerHeight="100" fill="green" mask="url(#m)">
25 <rect width="100" height="100"/>
26 </marker>
27 <marker id="m-opacity" markerWidth="100" markerHeight="100" fill="green" opacity="0.5">
28 <rect width="100" height="100"/>
29 </marker>
30 </defs>
32 <line x1="10" y1="10" x2="11" y2="10" marker-start="url(#m-clip-path)"/>
33 <line x1="120" y1="10" x2="121" y2="10" marker-start="url(#m-filter)"/>
34 <line x1="230" y1="10" x2="231" y2="10" marker-start="url(#m-mask)"/>
35 <line x1="340" y1="10" x2="341" y2="10" marker-start="url(#m-opacity)"/>
36 </svg>