summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/clipPath-and-transform-02.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/clipPath-and-transform-02.svg')
-rw-r--r--layout/reftests/svg/clipPath-and-transform-02.svg13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/svg/clipPath-and-transform-02.svg b/layout/reftests/svg/clipPath-and-transform-02.svg
new file mode 100644
index 0000000000..c69a013b25
--- /dev/null
+++ b/layout/reftests/svg/clipPath-and-transform-02.svg
@@ -0,0 +1,13 @@
+<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <clipPath clipPathUnits="objectBoundingBox" id="clipPathMask" transform="scale(0.01 0.005)">
+ <rect width="100" height="100"/>
+ <rect id="r" width="100" height="100" display="none"/>
+ </clipPath>
+ </defs>
+ <rect fill="lime" height="100%" width="100%"/>
+
+ <rect fill="red" x="102" y="102" height="96" width="96"/>
+ <rect transform="translate(100, 100)" clip-path="url(#clipPathMask)" fill="lime" y="-100" height="200" width="100"/>
+</svg>
+