gecko-dev/layout/reftests/async-scrolling/position-sticky-transformed...

15 строки
537 B
HTML

<!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>