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/filters-drop-shadow-003.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Filters: drop-shadow filter on element in outside of the view</title>
<link rel="author" title="Fujii Hironori" href="mailto:Hironori.Fujii@sony.com">
<link rel="match" href="reference/filters-drop-shadow-003-ref.html">
<meta name="assert" content="Check that a drop-shadow of an element with drop-shadow filter placed in the outside of the view appears"/>
<style>
div {
width: 300px;
height: 300px;
top: -1000px;
left: -1000px;
background-color: red;
position: relative;
filter: drop-shadow(1000px 1000px 0 green);
}
</style>
You should see a green box.
<div></div>