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/layout/reftests/svg/stroke-dasharray-03.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Test the start point and direction of dashing on rect</title>
<rect width="100%" height="100%" fill="lime"/>
<rect x="20" y="20" width="100" height="60" fill="none" stroke="red" stroke-width="10" stroke-dasharray="120,10000"/>
<path d="M20,20 h100 v20" fill="none" stroke="lime" stroke-width="10"/>
<rect x="20" y="100" width="100" height="60" fill="none" stroke="red" stroke-width="10" stroke-dasharray="120,10000" rx="10" ry="10"/>
<path d="M30,100 h80 a10,10 0 0 1 10,10 v25" fill="none" stroke="lime" stroke-width="14"/>
</svg>