summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg')
-rw-r--r--testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg b/testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg
new file mode 100644
index 0000000000..cd60c05239
--- /dev/null
+++ b/testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg
@@ -0,0 +1,21 @@
+<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#RectElement"/>
+ <html:link rel="match" href="pathlength-001-ref.svg" />
+ </g>
+
+ <g id="test-body-content" style="fill:none;stroke:black;stroke-width:5px">
+ <rect x="20" y="140" width="200" height="200" style="stroke-dasharray:50"/>
+ <rect x="260" y="140" width="200" height="200" style="stroke-dasharray:0.25" pathLength="4"/>
+ </g>
+
+</svg>