gecko-dev/layout/reftests/reftest-sanity/async-scroll-1c.html
Kartikaya Gupta dd23227828 Bug 1484047 - Add an async-scrolling reftest that mixes painted and async scrolls. r=botond
This was helpful to me in understanding the semantics of WR's internals so
I figured it might be useful to land.

Differential Revision: https://phabricator.services.mozilla.com/D85332
2020-07-30 09:46:03 +00:00

12 lines
560 B
HTML

<!DOCTYPE HTML>
<html reftest-async-scroll
reftest-displayport-x="0" reftest-displayport-y="0"
reftest-displayport-w="800" reftest-displayport-h="2000"
reftest-async-scroll-x="0" reftest-async-scroll-y="20"
style="scrollbar-width:none">
<body style="background:red; margin:0" onload="window.scrollTo(0,30)">
<div style="position:absolute; background:lime; top:50px; left:0; width:800px; height:1000px"></div>
<div style="position:absolute; background:yellow; bottom:-50px; left:50px; width:50px; height:50px"></div>
</body>
</html>