summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/old-content-is-empty-div-ref.html
blob: b658d565354bd241727df8a31b76872e819d8556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<title>Shared 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>