summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/animating-new-content-subset-ref.html
blob: eee7f19529b82269d066e08582e322e30e6a308b (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>
<html>
<title>View transitions: animations in the new element show up in the images if it partially changes (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">

<style>
#target {
  width:100px;
  height:100px;
  background: blue;
  will-change: transform;
}

.child {
  width: 50px;
  height: 50px;
  will-change: transform;
  background: grey;
}
</style>

<div id="target">
  <div class="child">
    I'm the inner composited child.
  </div>
</div>