[webkit-dev] Question on WebCore zoom functionality

vswap 65 vswap65 at gmail.com
Mon May 2 04:52:21 PDT 2011

Hi All,

When I am trying to apply a specific zoomfactor (say X) to WebCore with a
certain viewport, I see my page layout being in appropriate.

BTW the particular page did not provide me any WebCore::ViewportArguments in
didReceiveViewportArguments() in glue layer(ChromeClient).

Let's say my viewport size is 400*600 & I am applying a zoomfactor of .5.
When I see my page layout being improper & if I increase the viewport
dimension to 450(~approx) everything looks fine.

So, my question is if a specific page can't fit into 400*600 viewport with
.5 zoomfactor (the figures are just for example), is there anyway WebCore
notify the GLUE layer so that I can readjust my viewport size/zoomfactor? Is
there any better way to solve such issues?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110502/6304ed42/attachment.html>

More information about the webkit-dev mailing list