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/blur-clip-stacking-context-002.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Test: Blurs on an overflow: hidden element are correctly not-clipped to the padding box</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="mismatch" href="blur-clip-stacking-context-ref.html">
<style>
#cover, #clip {
position: absolute;
top: 10px;
left: 10px;
width: 100px;
height: 100px;
}
#cover {
background: green;
}
#clip {
overflow: hidden;
background: blue;
filter: blur(20px);
}
</style>
<div id="clip"></div>
<div id="cover"></div>