mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1166301 - Test that the clip on a fixed background of a child element is moved correctly during async scrolling. r=mstange
This also tests that regions of a fixed background layer that may be revealed by async scrolling are painted. --HG-- extra : rebase_source : b79de765277d9ea4f23a88f923b06cbeee9712d6 extra : source : 49e72ce8143af66579c8d6c0b6a0f215e9883d5a
This commit is contained in:
parent
a1d5d090fe
commit
4f8f6ce552
11
layout/reftests/async-scrolling/bg-fixed-child-clip-ref.html
Normal file
11
layout/reftests/async-scrolling/bg-fixed-child-clip-ref.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body style="overflow:hidden; margin:0;">
|
||||
<div style="margin-top: 50px; height: 100px;
|
||||
background-image:url(repeatable-diagonal-gradient.png);
|
||||
background-attachment:fixed;
|
||||
background-repeat:no-repeat;
|
||||
background-position:top left;">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
16
layout/reftests/async-scrolling/bg-fixed-child-clip.html
Normal file
16
layout/reftests/async-scrolling/bg-fixed-child-clip.html
Normal file
@ -0,0 +1,16 @@
|
||||
<!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="50">
|
||||
<body style="overflow:hidden; height:3000px; margin:0;">
|
||||
<div style="margin-top: 100px; height: 100px;
|
||||
background-image:url(repeatable-diagonal-gradient.png);
|
||||
background-attachment:fixed;
|
||||
background-repeat:no-repeat;
|
||||
background-position:top left;">
|
||||
</div>
|
||||
<!-- test that the clip of a background-attachment:fixed background of a
|
||||
child element moves correctly during async scrolling -->
|
||||
</body>
|
||||
</html>
|
@ -3,6 +3,7 @@ skip-if(!asyncPan) == bg-fixed-cover-1.html bg-fixed-cover-1-ref.html
|
||||
skip-if(!asyncPan) == bg-fixed-cover-2.html bg-fixed-cover-2-ref.html
|
||||
skip-if(!asyncPan) == bg-fixed-cover-3.html bg-fixed-cover-3-ref.html
|
||||
skip-if(!asyncPan) == bg-fixed-child.html bg-fixed-child-ref.html
|
||||
skip-if(!asyncPan) == bg-fixed-child-clip.html bg-fixed-child-clip-ref.html
|
||||
skip-if(!asyncPan) == element-1.html element-1-ref.html
|
||||
pref(layers.force-active,true) skip-if(!asyncPan) == iframe-1.html iframe-1-ref.html
|
||||
skip-if(!asyncPan) == nested-1.html nested-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user