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/drop-shadow-clipped-001.html - WPT Dashboard Interop Dashboard
<!doctype HTML>
<title>CSS Filters: drop-shadow clipping</title>
<link rel="match" href="reference/drop-shadow-clipped-001-ref.html">
<meta name="assert" content="This test ensures that the overflowing parts of drop-shadowed elements cast shadows.">
<div style="overflow: hidden; width: 100px; height: 100px">
<div style="filter: drop-shadow(-105px 0 0 green);">
<div style="width: 50px; height: 50px; position: relative; left: 105px; background: red"></div>
</div>
</div>