summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/linking/reftests/href-feImage-element.html
blob: efdbe63a1fa9aace023d65620f327954135bd8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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"
       xmlns:xlink="http://www.w3.org/1999/xlink">
    <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>