mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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
This commit is contained in:
parent
9434fdc6d9
commit
dd23227828
11
layout/reftests/reftest-sanity/async-scroll-1c.html
Normal file
11
layout/reftests/reftest-sanity/async-scroll-1c.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!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>
|
@ -179,6 +179,8 @@ defaults pref(layers.low-precision-buffer,false)
|
||||
skip-if(!asyncPan||!browserIsRemote) != async-scroll-1b.html async-scroll-1-ref.html
|
||||
defaults
|
||||
|
||||
skip-if(!asyncPan||!browserIsRemote) == async-scroll-1c.html async-scroll-1-ref.html
|
||||
|
||||
skip-if(!Android) pref(apz.allow_zooming,true) != async-zoom-1.html async-zoom-1-ref.html
|
||||
fuzzy(0-112,0-800) skip-if(!Android) pref(apz.allow_zooming,true) == async-zoom-2.html async-zoom-2-ref.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user