summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html
blob: 7d513e282df217e0299d39888ab02afb64b92717 (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://drafts.csswg.org/css-view-transitions-1/">
<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>