summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/path/property/priority.svg
blob: ef187c191369e894920c7dc38b47d5cc4b984f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:h="http://www.w3.org/1999/xhtml" width="100" height="100">
  <metadata>
    <h:link rel="help" href="https://svgwg.org/svg2-draft/paths.html#TheDProperty"/>
    <h:link rel="match" href="priority-ref.svg"/>
    <h:meta name="assert" content="Property overrides attribute."/>
  </metadata>
  <style>
    path {
      stroke-width: 3;
      stroke: blue;
    }
    #top {
      d: path('M 20 10 h 70');
    }
  </style>
  <path id="top" d="M 10 20 h 70" />
  <path d="M 10 90 h 70" style="d: path('M 20 80 h 70')" />
</svg>