summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-animations/containing-block-on-visibility-hidden-ref.html
blob: 73bf27705b80da8a525d47a41b026bbad88ac732 (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
<!DOCTYPE html>
<style>
#parent {
  visibility: hidden;
  will-change: transform;
}

#fixed {
  position: fixed;
  background-color: green;
  height: 100px;
  width: 100px;
}

#scroll {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 80px;
  width: 100px;
}
</style>
<div id="scroll">
  <div id="parent">
    <div id="fixed"></div>
  </div>
</div>