summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/dialog-in-top-layer-during-transition-ref.html
blob: 41467678a31ab07b3ceb639ccf8ecee27761a45f (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
28
<!DOCTYPE html>
<html>
<title>View transitions: element in top layer during transition (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:khushalsagar@chromium.org">

<style>
div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
}

.dialog {
  background: lightgreen;
}

.backdrop {
  background: grey;
  top: 120px;
}

</style>
<div class="dialog"></div>
<div class="backdrop"></div>