summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/old-content-is-empty-div-ref.html
blob: b4b17ee780f0484e75d5eb51ce04fcd432a6cdb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<title>View transitions: old content captures an empty div (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div {
  width: 100px;
  height: 100px;
  contain: paint;
  position: absolute;
  top: 50px;
  left: 50px;
  background: green;
}
body { background: lightpink; }
</style>
<div></div>