W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

[csswg-drafts] [cssom] Can't tell if a StyleSheet has loaded

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Mon, 31 Oct 2016 03:45:48 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-186197363-1477885546-sysbot+gh@w3.org>
dbaron has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [cssom] Can't tell if a StyleSheet has loaded ==
The [definition of 
<code>StyleSheet</code>](https://drafts.csswg.org/cssom/#the-stylesheet-interface)
 (or maybe it belongs in <code>CSSStyleSheet</code>, but I suspect 
not) doesn't provide a mechanism to tell if the sheet is loaded.  You 
can [get a load event when it 
loads](https://html.spec.whatwg.org/multipage/semantics.html#the-link-element:concept-event-fire),
 but you can't tell whether that event has already happened, via, 
e.g., a readyState or complete property.

This issue came from:
https://twitter.com/cramforce/status/792588294940790784
https://twitter.com/BrendanEich/status/792791949673504768
https://twitter.com/cramforce/status/792793340802584576


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/667 using your GitHub 
account
Received on Monday, 31 October 2016 03:45:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC