summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg')
-rw-r--r--testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg
new file mode 100644
index 0000000000..1dd5c546af
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/mask-svg-content/mask-text-001.svg
@@ -0,0 +1,18 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml"
+ xmlns:xlink="http://www.w3.org/1999/xlink" width="100px" height="100px">
+<g id="testmeta">
+ <title>CSS Masking: mask with transformed text content</title>
+ <html:link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"/>
+ <html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#svg-masks"/>
+ <html:link rel="help" href="http://www.w3.org/TR/css-masking-1/#MaskElement"/>
+ <html:link rel="match" href="reference/mask-text-001-ref.svg"/>
+ <metadata class="flags">svg</metadata>
+ <desc class="assert">The masked target elements get scaled with negative
+ factors. Check if that influences masking. You should see 4 green
+ rectangles with smaller blue rectangles in it in various rotations.</desc>
+</g>
+<mask id="mask">
+ <text fill="#fff" font-family="Ahem" font-size="12px" transform="rotate(90 50 50)" x="50%" y="50%">foobar</text>
+</mask>
+<rect width="100%" height="100%" x="0" y="0" mask="url(#mask)"/>
+</svg> \ No newline at end of file