Bug 701190 - position:fixed items disappear due to wrong translation. Reftest. r=roc

This commit is contained in:
Tatiana Meshkova 2011-11-09 11:14:43 -08:00
Родитель e1eb25d24a
Коммит a82fc659ec
3 изменённых файлов: 14 добавлений и 0 удалений

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

@ -97,6 +97,7 @@ skip-if(!browserIsRemote) == test-displayport-bg.html test-displayport-ref.html
# Fixed layers are temporarily disabled (bug 656167).
#== test-pos-fixed.html test-pos-fixed-ref.html
== test-bg-attachment-fixed.html test-bg-attachment-fixed-ref.html
== test-pos-fixed-transform.html test-pos-fixed-transform-ref.html
# reftest syntax: require-or
require-or(unrecognizedCondition,skip) script scripttest-fail.html

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

@ -0,0 +1,6 @@
<!DOCTYPE HTML>
<html reftest-viewport-w="800" reftest-viewport-h="300">
<body>
<div style="position: fixed; background: lightblue; top: 0; left: 0; width:100px; height:100px; -moz-transform: translate(360px,0px);"/>
</body>
</html>

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

@ -0,0 +1,7 @@
<!DOCTYPE HTML>
<html reftest-viewport-w="800" reftest-viewport-h="300"
reftest-displayport-w="800" reftest-displayport-h="300">
<body>
<div style="position: fixed; background: lightblue; top: 0; left: 0; width:100px; height:100px; -moz-transform: translate(360px,0px);"/>
</body>
</html>