W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 12 Jan 2012 14:32:49 -0500
Message-ID: <4F0F3561.5090607@mit.edu>
On 1/12/12 2:19 PM, Roman Rudenko wrote:
> For example, @media-controlled mobile view of a page
> originally designed for desktop will typically include all desktop
> assets. beforeload can fix that, as desktop resource loads could be
> cancelled or even replaced with mobile-specific ones without complete
> HTML reconstruction.

Except they can't, because beforeload fires after the load has started 
in many cases, right?

-Boris
Received on Thursday, 12 January 2012 11:32:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC