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/line-dasharray.svg
<?xml version="1.0" encoding="UTF-8"?>
width="300" height="200">
<metadata>
<h:link rel="match" href="line-dasharray-ref.svg"/>
<h:meta name="assert" content="The ‘pathLength’ attribute on a ‘path’ element affects stroke-dasharray."/>
</metadata>
<style>
line {
stroke: blue;
stroke-dasharray: 3 1;
}
</style>
<line id="interval" x1="50" y1="100" x2="250" y2="100" pathLength="25"/>
</svg>