Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/painting/reftests/marker-units-strokewidth-non-scaling-stroke.svg - WPT Dashboard Interop Dashboard
<title>Markers: markerUnits=strokeWidth with vector-effect=non-scaling-stroke</title>
<h:link rel="match" href="../../embedded/reference/green-rect-100x100.svg"/>
<marker id="m" orient="0" refY="5" markerUnits="strokeWidth"
markerWidth="10" markerHeight="10">
<rect width="10" height="10" fill="green"/>
</marker>
<line x2="10" y1="5" y2="5" vector-effect="non-scaling-stroke"
stroke="red" stroke-width="10" marker-start="url(#m)"
transform="scale(10)"/>
</svg>