10 window
.enablePixelTesting
= true;
13 // Fully scroll to bring the fixed pos rect into view.
14 window
.scrollTo(500, 1700);
17 function scaleWithEventSender() {
18 var scaleFactor
= 2.0;
19 if (window
.internals
) {
20 internals
.setPageScaleFactor(scaleFactor
);
25 document
.body
.style
.width
= (document
.body
.clientWidth
+ 100) + "px";
26 scaleWithEventSender();
30 <script src=
"../../resources/js-test.js"></script>
32 <body style=
"height: 2000px; width: 2000px; margin:0px;" onload=
"test();">
33 <div style=
"position: fixed; bottom: 100px; right: 100px; z-index: 1">
34 <div style=
"left:0; top:0; width:100px; height:100px; position:absolute; background:black;"></div>
35 <div style=
"left:100px; top:0; width:100px; height:100px; position:absolute; background:green;"></div>
37 <div style=
"left:0px; top:100px; width:100px; height:100px; position:absolute; background:yellow;"></div>
38 <div style=
"left:100px; top:100px; width:100px; height:100px; position:absolute; background:blue;"></div>