<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That API is more about desktop zooming. &nbsp;I wouldn't really recommend using it as a model for zooming on a mobile platform.<div><br></div><div>dave</div><div>(<a href="mailto:hyatt@apple.com">hyatt@apple.com</a>)</div><div><br><div><div>On Jun 25, 2009, at 12:15 PM, Javed Rabbani wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="color: rgb(0, 51, 0);">Hello everyone,</span><br style="color: rgb(0, 51, 0);"><br style="color: rgb(0, 51, 0);"><span style="color: rgb(0, 51, 0);">I was trying to zoom a web page (text + images) through WebKit API: </span><span style="font-family: courier new,monospace; color: rgb(0, 51, 0);">frame-&gt;setZoomFactor().</span><span style="color: rgb(0, 51, 0);"> The call forces WebKit to recalculate the page layout and send repaints to the application via Chrome Client. What I have noticed is that zooming takes considerable time and that effect becomes more evident running on an embedded platform. The number of repaint calls that are routed to the application through Chrome Client are far more than for the case when the page is displayed without zooming. </span><br style="color: rgb(0, 51, 0);"> <br style="color: rgb(0, 51, 0);"><span style="color: rgb(0, 51, 0);">As a result, from the user point of view, the zooming operation takes considerable time that is proportional to the content length of the page being displayed. For instance if </span><b style="color: rgb(0, 51, 0);">BBC mobile</b><span style="color: rgb(0, 51, 0);"> is displayed, the page is zoomed quickly from zoom factor of 1.0 to 1.2. However, for </span><b style="color: rgb(0, 51, 0);"><a href="http://edition.cnn.com">edition.cnn.com</a></b><span style="color: rgb(0, 51, 0);">, it takes quite a few seconds to complete and there are far more repaint calls sent to the application. Is this the normal behavior? Is there a way to get this done in a much quicker way, even for sites with more content? Any suggestion in this regard will be greatly appreciated. Thanks.</span><br style="color: rgb(0, 51, 0);"> <br style="color: rgb(0, 51, 0);"><span style="color: rgb(0, 51, 0);">Regards,</span><br style="color: rgb(0, 51, 0);"><span style="color: rgb(0, 51, 0);">Javed&nbsp; </span><br><br> _______________________________________________<br>webkit-dev mailing list<br><a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev<br></blockquote></div><br></div></body></html>