[whatwg] <link> onLoad event

Davis Peixoto davis.peixoto at gmail.com
Wed Oct 27 06:18:47 PDT 2010


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101027/048d1772/attachment-0001.htm>


More information about the whatwg mailing list