Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: snapshot
- Manifest: layout/reftests/position-sticky/reftest.list
<!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>