summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/shapes/reftests/pathlength-003.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/shapes/reftests/pathlength-003.svg
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.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/shapes/reftests/pathlength-003.svg')
-rw-r--r--testing/web-platform/tests/svg/shapes/reftests/pathlength-003.svg43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/shapes/reftests/pathlength-003.svg b/testing/web-platform/tests/svg/shapes/reftests/pathlength-003.svg
new file mode 100644
index 0000000000..506952f54b
--- /dev/null
+++ b/testing/web-platform/tests/svg/shapes/reftests/pathlength-003.svg
@@ -0,0 +1,43 @@
+<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>Test of 'pathLength' on shapes.</title>
+ <html:link rel="author"
+ title="Tavmjong Bah"
+ href="http://tavmjong.free.fr"/>
+ <html:link rel="help"
+ href="https://www.w3.org/TR/SVG2/shapes.html#CircleElement"/>
+ <html:link rel="match" href="pathlength-003-ref.svg" />
+ </g>
+
+ <style id="test-font" type="text/css">
+ /* Standard Font (if needed). */
+ @font-face {
+ font-family: FreeSans;
+ src: url("../fonts/FreeSans.woff") format("woff");
+ }
+ text {
+ font-family: FreeSans, sans-serif;
+ text-anchor: middle;
+ fill: black;
+ }
+ #title {
+ font-size: 24px;
+ }
+ .label {
+ font-size: 18px;
+ }
+ </style>
+
+
+ <g id="test-body-content" style="fill:none;stroke:black;stroke-width:1px">
+ <circle id="circle1" cx="120" cy="240" r="100"/>
+ <circle id="circle2" cx="360" cy="240" r="100" pathLength="4"/>
+ <text><textPath xlink:href="#circle1" startOffset="471.8" style="font-size:24px;stroke:none">Some text on a circle!</textPath></text>
+ <text><textPath xlink:href="#circle2" startOffset="3" style="font-size:24px;stroke:none">Some text on a circle!</textPath></text>
+ </g>
+
+</svg>