gecko-dev/layout/reftests/position-sticky/transformed-2.html

9 строки
368 B
HTML

<!DOCTYPE html>
<html style="margin: 0" reftest-async-scroll reftest-async-scroll-y="50">
<body style="margin: 0">
<div style="height: 70px; background-color: blue"></div>
<div style="height: 2000px; transform: translateY(50px)">
<div style="position:sticky; top: 70px; width: 100px; height: 100px; background-color: green"></div>
</div>
</html>