summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/painting/reftests/marker-implicit-subpaths.html
blob: 7f87ae05e6f3463892d5868865c7088c4edfd580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<title>Marker on implicit subpath</title>
<link rel="help" href="https://svgwg.org/svg2-draft/painting.html#RenderingMarkers">
<link rel="help" href="https://svgwg.org/svg2-draft/paths.html#PathDataClosePathCommand">
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<svg width="400" viewBox="-200 0 400 150">
  <marker id="m" markerUnits="userSpaceOnUse" orient="auto" overflow="visible">
    <rect width="100" height="100" fill="green"/>
  </marker>
  <rect x="-200" width="100" height="100" fill="red"/>
  <path d="M-200,0ZZZ" marker-mid="url(#m)" stroke="red" stroke-width="4"/>
</svg>