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

[csswg-drafts] [cssom] CSSImportRule.styleSheet when not loaded yet

From: Simon Sapin via GitHub <sysbot+gh@w3.org>
Date: Thu, 08 Sep 2016 03:31:03 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-175656951-1473305460-sysbot+gh@w3.org>
SimonSapin has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [cssom] CSSImportRule.styleSheet when not loaded yet ==
https://drafts.csswg.org/cssom/#the-cssimportrule-interface
> The styleSheet attribute must return the associated CSS style sheet.
>
> Note: If loading of the style sheet fails its CSS rules list is 
simply empty, i.e., an `@import` at-rule always has an associated CSS 
style sheet.

What happens when the imported stylesheet has not finished loading 
yet? Should the getter block? Or does the does the associated 
stylesheet have an empty rule list, like for a failed load?

CC @upsuper @Manishearth @heycam 

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/453 using your GitHub 
account
Received on Thursday, 8 September 2016 03:31:10 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:34 UTC