Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/linking/reftests/href-image-element.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>href - image element</title>
<meta name="assert" content="The image should accept href">
<link rel="match" href="href-image-element-ref.html">
<body>
<svg width="300" height="300" viewBox="0 0 300 300"
<image href="/images/green.png" xlink:href="/images/red.png"
width="100px" height="100px"/>
</svg>
</body>