summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/inline-child-with-filter-ref.html
blob: 44a41f1bf93366e06f2eae0cbfcd4acb126d192f (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
29
<!DOCTYPE html>
<title>View transitions: inline child with filter (ref)</title>
<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">

<style>
body { margin : 0; }
#target {
  width: 100px;
  height: 100px;
  background-color: grey;
  overflow-clip-margin: 40px;
  contain: paint;
  view-transition-name: target;
}

#child {
  position: relative;
  left: 100px;
  top: 100px;
  color: lightgreen;
  background-color: darkgreen;
  filter: blur(30px);
}
</style>

<div id="target">
  <span id="child">INLINEBOX</span>
</div>