4 <style type=
"text/css">
7 <script type=
"text/javascript">
9 testRunner
.dumpAsText();
12 // The factors are the same as those in Chrome settings.
13 var zoomFactors
= [1, 1.1, 1.25, 1.5, 1.75, 2, 2.5, 3, 4, 5];
14 if (!window
.eventSender
)
17 for (i
= 0; i
< zoomFactors
.length
; ++i
) {
18 var output
= document
.getElementById('output');
19 eventSender
.setPageZoomFactor(zoomFactors
[i
]);
20 if (document
.images
[0].height
== 10)
21 output
.innerHTML
+= "PASS: zoom " + Math
.round(zoomFactors
[i
] * 100) + "%<br>";
23 output
.innerHTML
+= "FAIL: zoom " + Math
.round(zoomFactors
[i
] * 100) + "%, height " + document
.images
[0].height
+ " != 10<br>";
30 This test is minimized from Acid3 Test #
72.
<br>
31 <img src=
"data:image/gif;base64,R0lGODlhAQABAID%2FAMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEA1w%3D%3D" alt=
"">
32 <div id=
"output"></div>