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
parent 94345585b1
commit 73558129cb
3 changed files with 14 additions and 0 deletions

View File

@ -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

View File

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

View File

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