summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/feimage-target-child-reference-crash.html
blob: eef96ef094d913fb9423616af9177ddfd932796c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<title>feImage referencing a child of the filter's target element</title>
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#FilterProperty">
<svg>
  <filter id='f1' x='0' y='0' width='1' height='1'>
    <feFlood flood-color='green'/>
  </filter>
  <filter id='f2' x='0' y='0' width='1' height='1'>
    <feImage href='#inner'/>
  </filter>
  <g filter='url(#f2)'>
    <g id='inner' filter='url(#f1)'>
      <rect width='50' height='50' fill='orange'/>
    </g>
  </g>
</svg>