20 if (window
.internals
&& window
.eventSender
) {
21 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
22 window
.internals
.setPageScaleFactorLimits(0.5, 0.5);
23 window
.internals
.setPageScaleFactor(0.5);
26 if (window
.testRunner
)
27 testRunner
.dumpAsTextWithPixelResults();
29 var d
= document
.getElementById('frame').contentDocument
.open();
30 d
.write("<div style='position:fixed; z-index: 1; left; 10px;'>TEST</div>");
35 <body onload=
"test();" style=
"width:2000px;height:2000px;">
36 <div class=
"fixed-no-z-index">TEST
</div><br>
37 <iframe id=
"frame"></iframe>