summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/shapes/reftests/pathlength-001-ref.svg
blob: 0ec9e0353ae4bcdf12acbdfe0e3aa85c22565054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<svg id="svg-root"
  width="100%" height="100%" viewBox="0 0 480 360"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:html="http://www.w3.org/1999/xhtml">
  <g id="testmeta">
    <title>Test of 'pathLength' on shapes.</title>
    <html:link rel="author"
          title="Tavmjong Bah"
          href="http://tavmjong.free.fr"/>
  </g>

  <g id="test-reference" style="fill:none;stroke:black;stroke-width:5">
    <path d="m  20,140 200,0 0,200 -200,0 z" style="stroke-dasharray:50" />
    <path d="m 260,140 200,0 0,200 -200,0 z" style="stroke-dasharray:0.25" pathLength="4"/>
  </g>

</svg>