summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-element-on-start-ref.html
blob: 8c096d1b10e42bdb9c7e5582affd225afdb6c9f1 (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: one element captured for two tags (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div {
  width: 100px;
  height: 100px;
  contain: paint;
  position: absolute;
  top: 50px;
  background: black;
  left: 200px;
  filter: invert(1);
}
body { background: lightpink; }
</style>
<div></div>