8000 [cssom] CSSImportRule.styleSheet when not loaded yet · Issue #453 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

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

@SimonSapin

Description

@SimonSapin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet
    < 2D68 h3 class="Box-sc-g0xbh4-0 bpDFns SectionHeader-module__SectionHeaderTitle--TxSJL prc-Heading-Heading-6CmGO">Development
    No branches or pull requests

    Issue actions

      0