diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /layout/reftests/svg/active-clip-and-mask.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream/124.0.1.tar.xz firefox-upstream/124.0.1.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/active-clip-and-mask.html')
-rw-r--r-- | layout/reftests/svg/active-clip-and-mask.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/layout/reftests/svg/active-clip-and-mask.html b/layout/reftests/svg/active-clip-and-mask.html new file mode 100644 index 0000000000..64cc269592 --- /dev/null +++ b/layout/reftests/svg/active-clip-and-mask.html @@ -0,0 +1,41 @@ +<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"> + <rect width="100%" height="100%" fill="grey"/> + <g transform="translate(80 30)"> + + <!-- active blob group with clip path and mask --> + <clipPath id="c4" clipPathUnits="userSpaceOnUse"> + <rect x="-80" y="100" width="100" height="100"/> + </clipPath> + <mask id="m4"> + <rect x="-80" y="100" width="100" height="100" fill="white"/> + <rect x="-60" y="120" width="40" height="40" fill="black"/> + </mask> + <g mask="url(#m4)" clip-path="url(#c4)"> + <g style = "will-change: opacity;"> + <rect x="-80" y="100" width="100" height="100" fill="blue"/> + </g> + </g> + + <!-- active blob group with mask only --> + <mask id="m5"> + <rect x="60" y="100" width="100" height="100" fill="white"/> + <rect x="80" y="120" width="40" height="40" fill="black"/> + </mask> + <g mask="url(#m5)"> + <g style = "will-change: opacity;"> + <rect x="60" y="100" width="100" height="100" fill="blue"/> + </g> + </g> + + <!-- active item with clip path only --> + <clipPath id="c6" clipPathUnits="userSpaceOnUse"> + <rect x="180" y="100" width="100" height="100"/> + </clipPath> + <g clip-path="url(#c6)"> + <g style = "will-change: opacity;"> + <rect x="180" y="100" width="100" height="100" fill="blue"/> + </g> + </g> + + </g> +</svg> |