summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-is-empty-div-ref.html
blob: c85028d3bd9f42c43d46a77c7c937b8cafde11b6 (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: new 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: 200px;
  background: green;
}
body { background: lightpink; }
</style>
<div></div>