10 window
.enablePixelTesting
= true;
13 window
.scrollTo(100,100);
16 function applyScaleFactor() {
17 var scaleFactor
= 2.0;
19 internals
.setPageScaleFactor(scaleFactor
);
23 // Scroll before applying page scale so we scroll the layout viewport.
28 <script src=
"../../resources/js-test.js"></script>
30 <body style=
"height:2000px; width: 2000px; margin:0px;" onload=
"test();">
31 <div style=
"position: fixed; top: -100px; right: 500px; z-index: 1">
32 <div style=
"left:0; top:0; width:100px; height:100px; position:absolute; background:yellow;"></div>
33 <div style=
"left:100px; top:0; width:100px; height:100px; position:absolute; background:green;"></div>
35 <div style=
"left:0; top:100px; width:100px; height:100px; position:absolute; background:black;"></div>
36 <div style=
"left:100px; top:100px; width:100px; height:100px; position:absolute; background:blue;"></div>
38 <div style=
"position: absolute; width:300px; height:300px; top: 0px; left: 300px" id=
"grid">
39 <div style=
"float:left; width:100px; height:100px; background:yellow;"></div>
40 <div style=
"float:left; width:100px; height:100px; background:green;"></div>
41 <div style=
"float:left; width:100px; height:100px; background:blue;"></div>
43 <div style=
"float:left; width:100px; height:100px; background: green;"></div>
44 <div style=
"float:left; width:100px; height:100px; background:blue;"></div>
45 <div style=
"float:left; width:100px; height:100px; background:yellow;"></div>
47 <div style=
"float:left; width:100px; height:100px; background:blue;"></div>
48 <div style=
"float:left; width:100px; height:100px; background:yellow;"></div>
49 <div style=
"float:left; width:100px; height:100px; background:green;"></div>
51 <div id=
"console"></div>