summaryrefslogtreecommitdiff
path: root/tests/fixtures/reftests/bugs/bug776297-marker-on-non-path-elements.svg
blob: d8b78f31921fa8cb3baf42c5a4a3b6c965fe300b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     viewBox="0 0 128 64">
    <marker id="marker"
      viewBox="0 -1 4 2"
      orient="auto">
      <path fill="blue" d="M 0 -1 L 4 0 0 1" />
    </marker>

  <path stroke-width="4" marker-mid="url(#marker)"
        stroke="red" fill="none" d="M 12,12 l 40,0 0,40 -40,0 0,-40"/>
  <circle stroke-width="4" cx="32" cy="32" r="20" marker-mid="url(#marker)"
        stroke="red" fill="none"/>
  <rect stroke-width="4" x="76" y="12" width="40" height="40" marker-mid="url(#marker)"
        stroke="red" fill="none"/>
</svg>