Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/struct/reftests/gradient-in-symbol.svg - WPT Dashboard Interop Dashboard
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
<title><symbol> with a gradient inside</title>
<h:link rel="match" href="reference/green-100x100.svg"/>
<rect fill="url(#a)" width="100" height="100"/>
<symbol>
<linearGradient id="a">
<stop offset="5%" stop-color="green" />
</linearGradient>
</symbol>
</svg>