Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / images / image-zoom-to-25.html
index a352e72..3ea6791 100644 (file)
@@ -36,9 +36,10 @@ function zoomPage()
 
             if (window.eventSender) {
                 eventSender.zoomPageOut();
-                log("Size at zoom level" + (count) + " : "  + image.clientWidth + "x" + image.clientHeight);
-                ++count;
-                if (count == 6)
+                var w = Math.round(image.clientWidth);
+                var h = Math.round(image.clientHeight);
+                log("Size at zoom level" + (count) + " : "  + w + " x " + h);
+                if (++count == 6)
                     testRunner.notifyDone();
             }
         };