summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/dialog-in-top-layer-during-transition-ref.html
blob: 029b0e9f86f7043ff92d17071ceca7544649b985 (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://drafts.csswg.org/css-view-transitions-1/">
<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>