CSSStyleSheet-constructable-disallow-import.tentative.html
Details
- Test
/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Inserting an @import rule through insertRule on a constructed stylesheet throws an exception |
| FAIL | @import rules should not trigger any loads. assert_equals: There should be only one entry for the import URL expected 1 but got 0 |
| FAIL | @import rules are not parsed in CSSStyleSheet.replace assert_unreached: Promise was rejected (Error: assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)") when it should have been resolved Reached unreachable code |
| FAIL | @import rules are not parsed in CSSStyleSheet.replaceSync assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)" |