Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<title>Canvas test: 2d.layer.css-filters.blur-and-shadow</title>
<h1>2d.layer.css-filters.blur-and-shadow</h1>
<p class="desc">Checks that beginLayer works with a CSS filter string as input.</p>
width="200" height="200"
color-interpolation-filters="sRGB">
<filter id="filter" x="-100%" y="-100%" width="300%" height="300%">
<feGaussianBlur stdDeviation="5" />
<feDropShadow dx="10" dy="10" stdDeviation="5" flood-color="orange" />
</filter>
<g filter="url(#filter)">
<rect x="50" y="50" width="100" height="100" fill="teal"/>
</g>
</svg>