W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] <link> onLoad event

From: Diogo Resende <dresende@thinkdigital.pt>
Date: Wed, 27 Oct 2010 14:25:18 +0100
Message-ID: <1288185918.18845.6.camel@nasgul>
I see already information on the latest draft about a "load" and "error"
event, I think this is it. I was hoping some browser vendors would
implement it sooner :)

-- 
Diogo


On Wed, 2010-10-27 at 11:18 -0200, Davis Peixoto wrote:
> Interesting question indeed
> 
> On Wed, Oct 27, 2010 at 11:15 AM, Diogo Resende
> <dresende at thinkdigital.pt> wrote:
>         Hi,
>         
>         Is there a way to know that a <link> has been loaded (and
>         processed)?
>         I'm more interested in CSS links than others but the process
>         should be
>         the same. In my opinion it's a better way of loading
>         stylesheets than
>         downloading using XmlHttpRequest and then creating the <style>
>         with all
>         that inside (seems <style> does not support onLoad either..).
>         
>         This is important for developers to create elements knowing
>         they will
>         have the correct styling immediately and not some moments
>         after.
>         
>         I'm sorry if there's already something to do this. Please hint
>         me if so.
>         
>         --
>         Diogo
>         
>         
>         
> 
> 
> 
> -- 
> Um abra?o, Perdig?o.
> 
> 
Received on Wednesday, 27 October 2010 06:25:18 UTC

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