summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-and-clipPath-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/svg/mask-and-clipPath-ref.html
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/svg/mask-and-clipPath-ref.html')
-rw-r--r--layout/reftests/svg/mask-and-clipPath-ref.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/layout/reftests/svg/mask-and-clipPath-ref.html b/layout/reftests/svg/mask-and-clipPath-ref.html
new file mode 100644
index 0000000000..86098fa835
--- /dev/null
+++ b/layout/reftests/svg/mask-and-clipPath-ref.html
@@ -0,0 +1,34 @@
+<!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 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>
+ <g>
+ <mask id="mask-1">
+ <rect fill="#000" height="100%" width="100%" x="0" y="0">
+ </rect>
+ <rect fill="#fff" height="462" width="400" x="40" y="-10">
+ </rect>
+ <rect fill="#fff" height="460" width="100" x="800" y="-10">
+ </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>