summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/marker-orientation-05.svg
blob: 129e14cf2073e23e68aec983f8c43a74d4d9244e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
    <defs>
        <marker id="arrowAutoStartRev" orient="auto-start-reverse" markerUnits="userSpaceOnUse" overflow="visible">
            <path d="M25,25 L0,0 L0,50 z" fill="lime" stroke="lime" stroke-width="2" />
        </marker>
        <marker id="arrowSW" orient="135" markerUnits="userSpaceOnUse" overflow="visible">
            <path d="M25,25 L0,0 L0,50 z" fill="red"/>
        </marker>
        <marker id="arrowAuto" orient="auto" markerUnits="userSpaceOnUse" overflow="visible">
            <path d="M25,25 L0,0 L0,50 z" fill="red"/>
        </marker>
     </defs>
    <rect width="100%" height="100%" fill="lime" />
    <path d="M 340,100 h50 v50 h-50 z" marker-start="url(#arrowSW)" fill="none"/>
    <path d="M 340,100 h50 v50 h-50 z" marker-start="url(#arrowAutoStartRev)" fill="none"/>
    <g transform="translate(0, 50)">
      <path d="M 340,100 h50 v50 h-50 z" marker-start="url(#arrowAuto)" fill="none"/>
      <path d="M 340,100 h50 v50 h-50 z" marker-end="url(#arrowAutoStartRev)" fill="none"/>
    </g>
</svg>