summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/canvas/offscreen/layers/2d.layer.css-filters.shadow-expected.html
blob: 60f78d80965fd0dec9ea11bc21d3652fc3d7bad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<title>Canvas test: 2d.layer.css-filters.shadow</title>
<h1>2d.layer.css-filters.shadow</h1>
<p class="desc">Checks that beginLayer works with a CSS filter string as input.</p>

<svg xmlns="http://www.w3.org/2000/svg"
      width="200" height="200"
      color-interpolation-filters="sRGB">
  <filter id="filter" x="-100%" y="-100%" width="300%" height="300%">
    <feDropShadow dx="-10" dy="-10" stdDeviation="5" flood-color="purple" />
  </filter>
  <g filter="url(#filter)">
    <rect x="50" y="50" width="100" height="100" fill="teal"/>
  </g>
</svg>