blob: 40d4c83f21faccfddb50c683c2a0b0c42a585935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
<title>Testing that 'use' can target 'a' elements</title>
<h:link rel="match" href="reference/green-100x100.svg"/>
<defs>
<a id="a">
<rect width="100" height="100" fill="green"/>
</a>
</defs>
<rect x="10" y="10" width="80" height="80" fill="red"/>
<use href="#a"/>
</svg>
|