summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/blur-clip-stacking-context-002.html
blob: 0473f12949446da04849386ffea69e7436703010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!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="help" href="https://drafts.fxtf.org/filter-effects/#funcdef-filter-blur">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#valdef-overflow-hidden">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1459065">
<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>