blob: 8327b5cad483fd95393b8bf347452899992686d7 [file] [log] [blame]
<!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 width=620 height=320 xmlns="http://www.w3.org/2000/svg">
<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=10 y=10 width=80 height=80 fill="crimson"
style="filter: drop-shadow(2px 2px 2px black)"/>
<rect x=110 y=10 width=80 height=80 fill="crimson"
style="filter: drop-shadow(15px 10px 5px rgba(128, 0, 128, 0.7))"/>
<rect x=10 y=110 width=80 height=80 fill="crimson"
style="filter: drop-shadow(10px 10px 3px purple)"/>
<rect x=110 y=110 width=80 height=80 fill="crimson"
style="filter: drop-shadow(15px 10px 3px LinkText)"/>
<rect x=210 y=110 width=80 height=80 fill="crimson"
style="filter: drop-shadow(10px 15px 0px purple)"/>
<rect x=310 y=110 width=80 height=80 fill="crimson"
style="filter: drop-shadow(9px 12px 3px rgba(20, 50, 130, 1))"/>
<rect x=410 y=110 width=80 height=80 fill="crimson"
style="filter: drop-shadow(15px 10px 3px rgba(20, 50, 130, 0.7))"/>
<rect x=510 y=110 width=80 height=80 fill="crimson"
style="filter: drop-shadow(15px 10px 3px rgba(20, 50, 130, 0.49))"/>
<rect x=10 y=210 width=80 height=80 fill="crimson"
style="filter: drop-shadow(-5px 0px 0px purple)"/>
<rect x=110 y=210 width=80 height=80 fill="crimson"
style="filter: drop-shadow(0px 5px 0px rgba(128, 0, 128, 0.8))"/>
<rect x=210 y=210 width=80 height=80 fill="crimson"
style="filter: drop-shadow(1px 10px 0px rgba(128, 0, 128, 0.4))"/>
</svg>