summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/animating-new-content-ref.html
blob: eae9e2c4711e455040efef37f8315b94c7663a32 (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 (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: grey;
  will-change: transform;
}

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

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