- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sun, 15 Mar 2009 10:12:07 -0400
Jonas Sicking wrote: > This sounds like a good idea to me. Seems useful for dynamically added > stylesheets too, and possibly for stylesheets where the href attribute > is dynamically changed. > > Same thing goes for the <style> element since an inline stylesheet can > have @import rules. Indeed, and there are some things that need specifying around this. See https://bugzilla.mozilla.org/show_bug.cgi?id=185236#c12 and https://bugzilla.mozilla.org/show_bug.cgi?id=185236#c15 for example. Note that image onload events do fire asynchronously in Gecko even if the data is synchronously available, so I have no problem with defining that all the load events, including for inline <style> with no imports, fire async. Note that inline scripts do not fire load events, by the way. Inline sheets with @import really should, though, no matter what happens for inline sheets without @import. -Boris
Received on Sunday, 15 March 2009 07:12:07 UTC