<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<title>Canvas test: 2d.filter.canvasFilterObject.dropShadow.tentative</title>
<h1>2d.filter.canvasFilterObject.dropShadow.tentative</h1>
<p class="desc">Test CanvasFilter() dropShadow object.</p>

<svg xmlns="http://www.w3.org/2000/svg"
     width=520 height=420
     color-interpolation-filters="sRGB">
  <rect x=0 y=0 width=100% height=50 fill="teal" />
  <rect x=0 y=100 width=100% height=50 fill="teal" />
  <rect x=0 y=200 width=100% height=50 fill="teal" />
  <rect x=0 y=300 width=100% height=50 fill="teal" />

  <rect x=10 y=10 width=80 height=80 fill="crimson"
        filter="drop-shadow(2px 2px 2px black)"/>
  <rect x=110 y=10 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 5px rgba(128, 0, 128, 0.7))"/>

  <rect x=10 y=110 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 3px purple)"/>
  <rect x=110 y=110 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 3px LinkText)"/>
  <rect x=210 y=110 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 3px rgba(20, 50, 130, 1))"/>
  <rect x=310 y=110 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 3px rgba(20, 50, 130, 0.7))"/>
  <rect x=410 y=110 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 3px rgba(20, 50, 130, 0.49))"/>

  <rect x=10 y=210 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 0px purple)"/>
  <rect x=110 y=210 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 5px purple)"/>
  <rect x=210 y=210 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 0px purple)"/>
  <filter id="separable-filter"
          x="-100%" y="-100%" width="300%" height="300%">
    <feDropShadow dx=9 dy=12 stdDeviation="3 5" flood-color="purple"/>
  </filter>
  <rect x=310 y=210 width=80 height=80 fill="crimson"
        filter="url(#separable-filter)"/>
  <rect x=410 y=210 width=80 height=80 fill="crimson"
        filter="drop-shadow(9px 12px 0px purple)"/>

  <rect x=10 y=310 width=80 height=80 fill="crimson"
        filter="drop-shadow(-5px 0px 0px purple)"/>
  <filter id="separable-filter-degenerate"
          x="-100%" y="-100%" width="300%" height="300%">
    <feDropShadow dx=0 dy=5 stdDeviation="0 3"
        flood-color="rgba(128, 0, 128, 0.8)"/>
  </filter>
  <rect x=110 y=310 width=80 height=80 fill="crimson"
        filter="url(#separable-filter-degenerate)"/>
  <rect x=210 y=310 width=80 height=80 fill="crimson"
        filter="drop-shadow(1px 10px 0px rgba(128, 0, 128, 0.4))"/>
</svg>
