Bug 1238571 - Async scroll reftest with scrolled container inside position:fixed element. r=mstange

This commit is contained in:
Botond Ballo 2016-01-13 19:06:11 -05:00
parent 53cc0db19c
commit 447781660a
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html reftest-async-scroll>
<style>
body {
height: 100vh;
margin: 0px;
}
#scrollbox {
width: 100%;
height: 100%;
overflow: hidden;
}
#scrolledContents {
height: 10000px;
background: radial-gradient(circle, blue 30%, transparent 0);
background-size: 80px 80px;
}
</style>
<body>
<div id="scrollbox"
reftest-dislayport-x="0" reftest-displayport-y="0"
reftest-displayport-w="800" reftest-displayport-h="2000"
reftest-async-scroll-x="0" reftest-async-scroll-y="20">
<div id="scrolledContents"></div>
</div>
</body>
</html>

View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html reftest-async-scroll>
<style>
body {
position: fixed;
margin: 0px;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
#scrollbox {
width: 100%;
height: 100%;
overflow: hidden;
}
#scrolledContents {
height: 10000px;
background: radial-gradient(circle, blue 30%, transparent 0);
background-size: 80px 80px;
}
</style>
<body>
<div id="scrollbox"
reftest-dislayport-x="0" reftest-displayport-y="0"
reftest-displayport-w="800" reftest-displayport-h="2000"
reftest-async-scroll-x="0" reftest-async-scroll-y="20">
<div id="scrolledContents"></div>
</div>
</body>
</html>

View File

@ -15,6 +15,7 @@ skip-if(!asyncPan) == nested-1.html nested-1-ref.html
skip-if(!asyncPan) == nested-2.html nested-2-ref.html
skip-if(!asyncPan) == position-fixed-1.html position-fixed-1-ref.html
skip-if(!asyncPan) == position-fixed-2.html position-fixed-2-ref.html
skip-if(!asyncPan) == position-fixed-body.html position-fixed-body-ref.html
skip-if(!asyncPan) == position-fixed-cover-1.html position-fixed-cover-1-ref.html
skip-if(!asyncPan) == position-fixed-cover-2.html position-fixed-cover-2-ref.html
skip-if(!asyncPan) == position-fixed-cover-3.html position-fixed-cover-3-ref.html