mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065008 - Reftest for compositor culling bug. r=roc
--HG-- extra : rebase_source : 77c5343a91dc05b6d0a4dac99503331f4cfdb3e7
This commit is contained in:
parent
4c459cbc49
commit
666ed7a7a4
23
layout/reftests/async-scrolling/culling-1-ref.html
Normal file
23
layout/reftests/async-scrolling/culling-1-ref.html
Normal file
@ -0,0 +1,23 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Culling Test</title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
</head>
|
||||
<body style="background:red" onload="loaded()">
|
||||
<div style="height:390px; width:300px; overflow-y:hidden; background:red">
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin-top:15px; width:300px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
</div>
|
||||
<script>
|
||||
function loaded() {
|
||||
var scrollableDiv = document.querySelector("div");
|
||||
scrollableDiv.scrollTop = 10;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/async-scrolling/culling-1.html
Normal file
20
layout/reftests/async-scrolling/culling-1.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html reftest-async-scroll>
|
||||
<head>
|
||||
<title>Culling Test</title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
</head>
|
||||
<body style="background:red">
|
||||
<div style="height:390px; width:300px; overflow-y:hidden; background:red"
|
||||
reftest-displayport-x="0" reftest-displayport-y="0"
|
||||
reftest-displayport-w="300" reftest-displayport-h="400"
|
||||
reftest-async-scroll-x="0" reftest-async-scroll-y="10">
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin-top:15px; width:300px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
<div style="margin:15px; width:200px; height:40px; background:blue"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -14,6 +14,7 @@ pref(layout.async-containerless-scrolling.enabled,true) pref(apz.subframe.enable
|
||||
pref(layout.async-containerless-scrolling.enabled,true) pref(apz.subframe.enabled,true) skip-if(!asyncPanZoom) == split-opacity-layers-1.html split-opacity-layers-1-ref.html
|
||||
pref(layout.async-containerless-scrolling.enabled,true) pref(apz.subframe.enabled,true) skip-if(!asyncPanZoom) == sticky-pos-scrollable-1.html sticky-pos-scrollable-1-ref.html
|
||||
pref(layout.async-containerless-scrolling.enabled,true) pref(apz.subframe.enabled,true) skip-if(!asyncPanZoom) == fixed-pos-scrollable-1.html fixed-pos-scrollable-1-ref.html
|
||||
pref(layout.async-containerless-scrolling.enabled,true) pref(apz.subframe.enabled,true) skip-if(!asyncPanZoom) == culling-1.html culling-1-ref.html
|
||||
|
||||
pref(layout.async-containerless-scrolling.enabled,false) skip-if(!asyncPanZoom) == bg-fixed-1.html bg-fixed-1-ref.html
|
||||
pref(layout.async-containerless-scrolling.enabled,false) skip-if(!asyncPanZoom) == bg-fixed-cover-1.html bg-fixed-cover-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user