Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/shapes/reftests/pathlength-001.svg
<svg id="svg-root"
width="100%" height="100%" viewBox="0 0 480 360"
<g id="testmeta">
<title>Test of 'pathLength' on shapes.</title>
<html:link rel="author"
title="Tavmjong Bah"
<html:link rel="help"
<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>