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-feImage-element.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>href - feImage element</title>
<meta name="assert" content="The feImage element should accept href">
<link rel="match" href="href-feImage-element-ref.html">
<body>
<svg width="300" height="300" viewBox="0 0 300 300"
<filter id="Fitted" primitiveUnits="objectBoundingBox">
<feImage href="/images/rgrg-256x256.png"
xlink:href="/images/grgr-256x256.png"
x="0" y="0" width="100%" height="100%"
preserveAspectRatio="none"/>
</filter>
<rect x="20" y="25" width="100" height="110" filter="url(#Fitted)"/>
<rect x="20" y="25" width="100" height="110" fill="none" stroke="green"/>
</svg>
</body>