summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/text/reftests/textpath-shape-001-ref.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/svg/text/reftests/textpath-shape-001-ref.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/svg/text/reftests/textpath-shape-001-ref.svg')
-rw-r--r--testing/web-platform/tests/svg/text/reftests/textpath-shape-001-ref.svg52
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/text/reftests/textpath-shape-001-ref.svg b/testing/web-platform/tests/svg/text/reftests/textpath-shape-001-ref.svg
new file mode 100644
index 0000000000..10827c8581
--- /dev/null
+++ b/testing/web-platform/tests/svg/text/reftests/textpath-shape-001-ref.svg
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg id="svg-root"
+ width="100%" height="100%" viewBox="0 0 480 360"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:html="http://www.w3.org/1999/xhtml">
+ <g id="testmeta">
+ <title>TextPath Shape — 001</title>
+ <html:link rel="author"
+ title="Tavmjong Bah"
+ href="mailto:tavmjong@free.fr"/>
+ </g>
+
+ <style id="test-font" type="text/css">
+ /* Standard Font (if needed). */
+ @font-face {
+ font-family: FreeSans;
+ src: url("fonts/FreeSans.woff") format("woff"),
+ local("FreeSans");
+ }
+ text { font-family: FreeSans, sans-serif }
+ </style>
+
+ <style id="test-style" type="text/css">
+ /* Style that is being tested (if needed). */
+ text { font-family: FreeSans, sans-serif }
+ </style>
+
+ <defs>
+ <path id="TextPath1" d="m 110,150
+ l 60, 0 a 20,20 0 0 1 20, 20
+ l 0, 60 a 20,20 0 0 1 -20, 20
+ l -60, 0 a 20,20 0 0 1 -20,-20
+ l 0,-60 a 20,20 0 0 1 20,-20 z"/>
+ <path id="TextPath2" d="m 390,200 a 50,50 0 0 1 -100,0 50,50 0 0 1 100,0 z"/>
+ </defs>
+
+ <g id="test-body-content" style="font-size:18px">
+
+ <use xlink:href="#TextPath1" style="fill:none;stroke:lightblue"/>
+ <text>
+ <textPath xlink:href="#TextPath1">Lorem ipsum dolor sit amet, consectetur adipisicing elit,</textPath>
+ </text>
+
+ <use xlink:href="#TextPath2" style="fill:none;stroke:lightblue"/>
+ <text>
+ <textPath xlink:href="#TextPath2">Lorem ipsum dolor sit amet, consectetur adipisicing elit,</textPath>
+ </text>
+
+ </g>
+
+</svg>