summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-ref.html
blob: 5f75909e82acd7972bd6e68eb9ea4eb79e9eee1a (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
<!DOCTYPE html>
<title>View transitions: capture elements and then change overflow (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
body { background: pink }
#target {
  position: relative;
  background: green;
  width: 100px;
  height: 100px;
  view-transition-name: target;
}
#child {
  background: blue;
  position: relative;
  top: 20px;
  left: 30px;
  width: 50px;
  height: 100px;
}
#child.large {
  height: 200px;
}
</style>

<div id=target><div id=child class=large></div></div>