summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/iframe-and-main-frame-transition-old-main-old-iframe-ref.html
blob: 2824884c4fecae902aa722e5360a4b3431f15bbe (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
<!DOCTYPE html>
<title>View transitions: iframe and main frame transition at the same time (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 50vw;
  height: 50vh;
}

body {
  background: green;
}
</style>

<iframe srcdoc="
<style>
body {
  background: blue;
}
</style>
"></iframe>