mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 975931. Part 9: Add basic reftests for async scrolling. r=tnikkel
--HG-- extra : rebase_source : 007307088ab09dd3811a74cb4782fdee320252f4
This commit is contained in:
parent
5f352be6e0
commit
147d6aaf9c
7
layout/reftests/reftest-sanity/async-scroll-1-ref.html
Normal file
7
layout/reftests/reftest-sanity/async-scroll-1-ref.html
Normal 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>
|
10
layout/reftests/reftest-sanity/async-scroll-1a.html
Normal file
10
layout/reftests/reftest-sanity/async-scroll-1a.html
Normal 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>
|
10
layout/reftests/reftest-sanity/async-scroll-1b.html
Normal file
10
layout/reftests/reftest-sanity/async-scroll-1b.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user