summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-sticky-transformed-in-scrollframe-1.html
blob: f1ccc63dec8a95b33a491da9e4e49562b4f3ce5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html reftest-async-scroll>
<div style="overflow:scroll; height: 400px; width: 400px"
     reftest-displayport-x="0"
     reftest-displayport-y="0"
     reftest-displayport-w="400"
     reftest-displayport-h="890"
     reftest-async-scroll-x="0"
     reftest-async-scroll-y="120">
<div style="transform: translateY(10px); margin-top: 90px; background-color: yellow; height: 400px">
<div style="position:sticky; top: 0px; height: 20px; background-color: green"></div>
</div>
<div style="height: 400px">spacer</div>
</div>