Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/filter-effects/svg-shorthand-drop-shadow-001.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Filter Effects: drop-shadow() function on SVG element</title>
<link rel="match" href="reference/green-100x100.html">
<svg>
<rect width="100" height="100" fill="red"/>
<rect width="50" height="100" fill="green" filter="drop-shadow(50px 0 green)"/>
</svg>