Bug 1208829 - Another reftest. r=botond

This commit is contained in:
Markus Stange 2015-11-26 18:11:32 +01:00
parent a3cf451950
commit 5ffe53a84d
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<style>
body {
margin: 0;
overflow: hidden;
}
.opacity {
opacity: 0.8;
}
.box {
left: 0;
top: 200px;
width: 200px;
height: 200px;
}
.absolute {
position: absolute;
background: green;
top: 100px;
}
.fixed {
position: absolute;
background: blue;
}
</style>
<div class="opacity">
<div class="box absolute"></div>
<div class="box fixed"></div>
</div>

View File

@ -0,0 +1,40 @@
<!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="100">
<style>
body {
margin: 0;
overflow: hidden;
height: 4000px;
}
.opacity {
opacity: 0.8;
}
.box {
left: 0;
top: 200px;
width: 200px;
height: 200px;
}
.absolute {
position: absolute;
background: green;
}
.fixed {
position: fixed;
background: blue;
}
</style>
<div class="opacity">
<div class="box absolute"></div>
<div class="box fixed"></div>
</div>

View File

@ -28,6 +28,7 @@ skip-if(!asyncPan) == culling-1.html culling-1-ref.html
skip-if(!asyncPan) == position-fixed-iframe-1.html position-fixed-iframe-1-ref.html
skip-if(!asyncPan) == position-fixed-iframe-2.html position-fixed-iframe-2-ref.html
skip-if(!asyncPan) == position-fixed-in-scroll-container.html position-fixed-in-scroll-container-ref.html
fuzzy(1,60000) skip-if(!asyncPan) == group-opacity-surface-size-1.html group-opacity-surface-size-1-ref.html
# for the following tests, we want to disable the low-precision buffer
# as it will expand the displayport beyond what the test specifies in