Bug 1166301 - Test that a mask layer on a fixed background of a child element is moved correctly during async scrolling. r=mstange

--HG--
extra : rebase_source : eaf1370dd62953446781ac0837a63d6d32ccaf24
extra : source : 7b415792e038c7dfbe75f27bffe2c1fec6c15b8f
This commit is contained in:
Botond Ballo 2015-08-31 21:09:05 -04:00
Родитель 1f87f52eb8
Коммит 9397f8ba0b
3 изменённых файлов: 29 добавлений и 0 удалений

Просмотреть файл

@ -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-repeat:no-repeat;
background-position:0px -50px;
border-radius:50px;">
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,17 @@
<!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;
border-radius:50px;">
</div>
<!-- test that the clip of a background-attachment:fixed background of a
child element moves correctly during async scrolling -->
</body>
</html>

Просмотреть файл

@ -4,6 +4,7 @@ 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) == bg-fixed-child-mask.html bg-fixed-child-mask-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