summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-and-clipPath.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/svg/mask-and-clipPath.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/mask-and-clipPath.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/reftests/svg/mask-and-clipPath.html b/layout/reftests/svg/mask-and-clipPath.html
new file mode 100644
index 0000000000..19759a6a31
--- /dev/null
+++ b/layout/reftests/svg/mask-and-clipPath.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
+ </head>
+ <body>
+ <svg height="100%" preserveAspectRatio="none meet" viewBox="0 0 1070 462" width="100%">
+ <g height="462" width="1070">
+ <g clip-path="url(#clip-1)" mask="url(#mask-1)" transform="translate(0,10)">
+ <g>
+ <path class="data-line" d="M30,260L61,266.5L900,266.5" fill="none" stroke="#cc0000" stroke-width="20" visibility="visible">
+ </path>
+ </g>
+ </g>
+ </g>
+ <g>
+ <clipPath id="clip-1">
+ <rect height="462" width="400" x="40" y="-10">
+ </rect>
+ <rect height="460" width="100" x="800" y="-10">
+ </rect>
+ </clipPath>
+ <g>
+ <mask id="mask-1">
+ <rect fill="#fff" height="100%" width="100%" x="0" y="0">
+ </rect>
+ <rect fill="#000" height="447" offset="164" width="60" x="164" y="0">
+ </rect>
+ <rect fill="#000" height="447" offset="376" width="56" x="376" y="0">
+ </rect>
+ </mask>
+ </g>
+ </g>
+ </svg>
+ </body>
+</html>