Bug 1130982 - Reftest for this bug. r=mattwoodrow

This commit is contained in:
Kartikaya Gupta 2015-02-25 17:59:41 -05:00
parent cc17095c12
commit 75b49f5061
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<html>
<body>
<div style="width:400px; height:500px; overflow:hidden; border:2px solid black">
<div style="width:300px; height:100px; overflow:hidden; border:2px solid blue; margin-top: 50px">
<div style="height:200px; background:purple"></div>
</div>
<div class="filler" style="height: 1000px"></div>
</div>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML>
<html reftest-async-scroll>
<body>
<!-- Test that nested active scrolling elements work -->
<div style="width:400px; height:500px; overflow:hidden; border:2px solid black"
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">
<div style="width:300px; height:100px; overflow:hidden; border:2px solid blue; margin-top: 100px"
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="0">
<div style="height:200px; background:purple"></div>
</div>
<div class="filler" style="height: 1000px"></div>
</div>
</html>

View File

@ -5,6 +5,7 @@ skip-if(!asyncPanZoom) == bg-fixed-cover-3.html bg-fixed-cover-3-ref.html
skip-if(!asyncPanZoom) == element-1.html element-1-ref.html
pref(layers.force-active,true) skip-if(!asyncPanZoom) == iframe-1.html iframe-1-ref.html
skip-if(!asyncPanZoom) == nested-1.html nested-1-ref.html
skip-if(!asyncPanZoom) == nested-2.html nested-2-ref.html
skip-if(!asyncPanZoom) == position-fixed-1.html position-fixed-1-ref.html
skip-if(!asyncPanZoom) == position-fixed-2.html position-fixed-2-ref.html
skip-if(!asyncPanZoom) == position-fixed-cover-1.html position-fixed-cover-1-ref.html