← back to v158 · cssimportrule-stylesheet
conformance · v158
v158 · cssimportrule-stylesheet — conformance probe
6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
stylesheet-getter-on-prototype |
CSSImportRule.prototype exposes a styleSheet accessor (getter), per the CSSOM interface definition. spec ↗ | script | … | |
false-supports-rule-retained-in-cssrules |
An @import whose supports() condition is false still appears in cssRules as a CSSImportRule (it is the fetch that is skipped, not the rule). spec ↗ | script | … | |
false-supports-stylesheet-null |
For an @import with a false supports() condition, styleSheet returns null — there is no associated CSS style sheet because nothing was fetched. spec ↗ | script | … | |
failed-import-stylesheet-null |
An @import whose fetched resource is not a CSS style sheet (HTTP 200 but text/plain, rejected in standards mode) settles with styleSheet === null, not a phantom empty CSSStyleSheet. spec ↗ | script | … | |
loaded-import-stylesheet-is-sameobject-sheet |
An @import that loads exposes the imported CSSStyleSheet, and [SameObject] guarantees repeated reads return the identical object. spec ↗ | script | … | |
supportstext-reflects-condition |
CSSImportRule.supportsText returns the import condition text for a conditional import. spec ↗ | script | … |