diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/svg/filter-and-clip.svg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/svg/filter-and-clip.svg b/layout/reftests/svg/filter-and-clip.svg new file mode 100644 index 0000000000..be056a47f2 --- /dev/null +++ b/layout/reftests/svg/filter-and-clip.svg @@ -0,0 +1,12 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300">
+ <defs>
+ <filter id="shift">
+ <feOffset dx="50"/>
+ </filter>
+ <clipPath id="clip">
+ <rect x="100" y="50" width="100" height="100"/>
+ </clipPath>
+ </defs>
+ <rect x="100" y="50" width="100" height="100" fill="red"/>
+ <rect x="50" y="50" width="200" height="100" fill="green" filter="url(#shift)" clip-path="url(#clip)"/>
+</svg>
\ No newline at end of file |