summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html
blob: a161cd8fc9a6a78b4070eae00544de2f3ff7ca44 (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
<!DOCTYPE html>
<html>
<title>View transitions: element with fixed position descendant (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
.target {
  width: 100px;
  height: 100px;
  background: blue;
}
.child {
  width: 100px;
  height: 100px;
  position: fixed;
  top: 150px;
  left: 150px;
  background: grey;
}
</style>

<div class=target>
  <div class=child></div>
</div>