Bug 975931. Part 9: Add basic reftests for async scrolling. r=tnikkel

--HG--
extra : rebase_source : 007307088ab09dd3811a74cb4782fdee320252f4
This commit is contained in:
Robert O'Callahan 2014-02-24 21:57:29 +13:00
parent de8e052f6d
commit bf04ff0c81
4 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<!DOCTYPE HTML>
<html>
<body style="background:red;">
<div style="position:absolute; background:lime; top:0; left:0; width:800px; height:1000px"></div>
<div style="position:absolute; background:yellow; bottom:0; left:50px; width:50px; height:50px"></div>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!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="50">
<body style="background:red; margin:0; overflow:hidden">
<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>

View File

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<html reftest-async-scroll
reftest-displayport-x="0" reftest-displayport-y="0"
reftest-displayport-w="800" reftest-displayport-h="1000"
reftest-async-scroll-x="0" reftest-async-scroll-y="50">
<body style="background:red; margin:0; overflow:hidden">
<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>

View File

@ -158,3 +158,6 @@ fails fuzzy-if(false,2,1) random-if(Android) == fuzzy.html fuzzy-ref.html
# Test that reftest-no-paint fails correctly
fails == reftest-no-paint.html reftest-no-paint-ref.html
skip-if(!browserIsRemote) == async-scroll-1a.html async-scroll-1-ref.html
skip-if(!browserIsRemote) != async-scroll-1b.html async-scroll-1-ref.html