CSSStyleSheet-constructable-replace-on-regular-sheet.html
Details
- Test
/css/cssom/CSSStyleSheet-constructable-replace-on-regular-sheet.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | CSSStyleSheet.replaceSync throws NotAllowedError for non-constructed sheets assert_throws_dom: replaceSync on non-constructed sheet should throw function "() => sheet.replaceSync(":root { background-color: red }")" did not throw |
| FAIL | CSSStyleSheet.replace returns a rejected promise for non-constructed sheets assert_equals: precondition expected "rgb(0, 255, 0)" but got "rgb(255, 0, 0)" |
| FAIL | CSSStyleSheet.replace returns a rejected promise for non-constructed sheets that have no associated document assert_equals: precondition expected "rgb(0, 255, 0)" but got "rgb(255, 0, 0)" |