[webkit-dev] Webkit (Mobile Safari) issues in the iPhone

Diego Taylor diego.taylor at gmail.com
Mon Oct 20 13:18:47 PDT 2008


Hi Dave,

On Thu, Oct 16, 2008 at 7:26 AM, David Kilzer <ddkilzer at webkit.org> wrote:

> How are you forcing layout?  If you're calling a method on a WebView
> object, then you're using non-public API and, as I mentioned earlier, your
> application may crash or hang.
>
> If you just need a way to force layout in JavaScript, this may be done by
> executing this statement:
>
>    document.body.offsetTop;
>
>
> It seems that solved the issue :-)

Many thanks, and I applaud you.

Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081020/e35fef03/attachment.html 


More information about the webkit-dev mailing list