Re: [webkit-dev] Catching events in JavaScript and the onload event

2012-10-02 Thread Luka Napotnik
Ok I understand that the engine works very asynchronous and as both of you said that it's basically impossible to say when the page is ready to be rendered. I still have some questions: Does WebKit have some sort of 'resource loaded' event that tells which **known** resources are already loaded

Re: [webkit-dev] Catching events in JavaScript and the onload event

2012-10-01 Thread Mihai Balan
/ x83653 | Adobe Systems Romania From: webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Luka Napotnik Sent: Thursday, September 27, 2012 2:55 PM To: webkit-dev@lists.webkit.org Subject: [webkit-dev] Catching events in JavaScript and the onload event

Re: [webkit-dev] Catching events in JavaScript and the onload event

2012-10-01 Thread Jussi Kukkonen
On Mon, Oct 1, 2012 at 11:02 AM, Luka Napotnik luka.napot...@gmail.com wrote: Hello. Thanks for the reply. So my best bet is to add some sort of a timeout that will trigger the rendering and hoping that the page is fully loaded? If I would implement such a signal that triggers itself when all

[webkit-dev] Catching events in JavaScript and the onload event

2012-09-27 Thread Luka Napotnik
Hello. I'm trying to figure out how to give a WebKit program hints that JavaScript is going to change the DOM structure my manipulating it's tree (e.g. IMG 'src' attribute change). Can anyone give me some pointers where should I look at. And another related question... The 'onload' event should