summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html
blob: b05c3c95acb99f063ad65d9feadbe9a186538716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<title>CSS Test Reference</title>
<style>
  #child {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: blue;
  }
</style>
<div style="height: 200px"></div>
<span id="container">
  Child should be positioned relative to the viewport, not relative to me.

  <div id="child"></div>
</span>