blob: d245999db08ec13ea34c6c832483d3c1135ceec0 (
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 id="svg-root"
width="310" height="170" viewBox="0, 0, 620, 340"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:html="http://www.w3.org/1999/xhtml">
<title>Percentages in stroke dimensions</title>
<html:link rel="help" href="https://svgwg.org/svg2-draft/geometry.html"/>
<html:link rel="match" href="percentage-ref.svg" />
<style>
rect {
fill: none;
stroke: blue;
}
</style>
<rect x="62" y="68" width="434" height="204"
stroke-width="10%" stroke-dasharray="20% 30%" stroke-dashoffset="-10%" />
</svg>
|