[whatwg] should we add beforeload/afterload events to the web platform?

On Thu, Jan 12, 2012 at 6:22 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 1/12/12 5:16 AM, Simon Pieters wrote:
>
>> Note that it
>> removes the root element when the script element is executed, not at
>> DOMContentLoaded.
>>
>
> Ah, I missed that.  I guess the HTML5 parsing algorithm means that now the
> elements are parsed into the other document, eh?  That's actually pretty
> cute.  I wonder whether we can get the mobify folks to switch to this....


This only works for the initial page load, no?

Received on Thursday, 12 January 2012 10:27:08 UTC