Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cssom] CSSImportRule.styleSheet when not loaded yet #453

Open
SimonSapin opened this issue Sep 8, 2016 · 0 comments
Open

[cssom] CSSImportRule.styleSheet when not loaded yet #453

SimonSapin opened this issue Sep 8, 2016 · 0 comments
Labels
cssom-1 Current Work

Comments

@SimonSapin
Copy link
Contributor

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

@astearns astearns added the cssom-1 Current Work label Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cssom-1 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants