mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1238571 - Async scroll reftest with scrolled container inside position:fixed element. r=mstange
This commit is contained in:
parent
53cc0db19c
commit
447781660a
27
layout/reftests/async-scrolling/position-fixed-body-ref.html
Normal file
27
layout/reftests/async-scrolling/position-fixed-body-ref.html
Normal 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>
|
31
layout/reftests/async-scrolling/position-fixed-body.html
Normal file
31
layout/reftests/async-scrolling/position-fixed-body.html
Normal 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>
|
@ -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) == nested-2.html nested-2-ref.html
|
||||||
skip-if(!asyncPan) == position-fixed-1.html position-fixed-1-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-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-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-2.html position-fixed-cover-2-ref.html
|
||||||
skip-if(!asyncPan) == position-fixed-cover-3.html position-fixed-cover-3-ref.html
|
skip-if(!asyncPan) == position-fixed-cover-3.html position-fixed-cover-3-ref.html
|
||||||
|
Loading…
Reference in New Issue
Block a user