summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/clipPath-and-transform-02.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/svg/clipPath-and-transform-02.svg
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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>
+