servo/tests/wpt/meta/css/cssom/CSSStyleSheet-constructable.html.ini
webbeef 30fdf48ca6
Implement CSSStyleSheet::replaceSync (#36586)
Implements the `replaceSync` method on CSSStyleSheet

Testing: Covered by wpt tests. Expectations are updated.

Signed-off-by: webbeef <me@webbeef.org>
2025-04-23 15:29:01 +00:00

69 lines
2.3 KiB
INI
Vendored

[CSSStyleSheet-constructable.html]
[document.adoptedStyleSheets should initially have length 0.]
expected: FAIL
[new CSSStyleSheet produces empty CSSStyleSheet]
expected: FAIL
[CSSStyleSheet.replace produces Promise<CSSStyleSheet>]
expected: FAIL
[Constructed style sheets can be applied on document]
expected: FAIL
[Constructed style sheets can be applied on shadow root]
expected: FAIL
[Re-attaching shadow host with adopted stylesheets work]
expected: FAIL
[Attaching a shadow root that already has adopted stylesheets work]
expected: FAIL
[Re-attaching shadow host and updating attributes work]
expected: FAIL
[Changes to constructed stylesheets through CSSOM is reflected]
expected: FAIL
[Constructed stylesheet can be used and modified in multiple TreeScopes]
expected: FAIL
[Stylesheets constructed on the main Document cannot be used in iframes]
expected: FAIL
[Stylesheet constructed on iframe cannot be used in the main Document]
expected: FAIL
[Adding non-constructed stylesheet to AdoptedStyleSheets is not allowed when the owner document of the stylesheet is in the same document tree as the AdoptedStyleSheets]
expected: FAIL
[Adding non-constructed stylesheet to AdoptedStyleSheets is not allowed when the owner document of the stylesheet and the AdoptedStyleSheets are in different document trees]
expected: FAIL
[CSSStyleSheet.replaceSync correctly updates the style of its adopters synchronously]
expected: FAIL
[Adopted sheets are ordered after non-adopted sheets in the shadow root]
expected: FAIL
[Adopted sheets are ordered after non-adopted sheets in the document]
expected: FAIL
[CSSStyleSheet.replaceSync should not trigger any loads from @import rules]
expected: FAIL
[CSSStyleSheet.replace allows, but ignores, import rule inside]
expected: FAIL
[CSSStyleSheet.replace ignores @import rule but still loads other rules]
expected: FAIL
[CSSStyleSheet.replace does not reject on failed imports]
expected: FAIL
[Adopting a shadow host will empty adoptedStyleSheets if adopting to a different document]
expected: FAIL
[Adopting a shadow host's ancestor will empty adoptedStyleSheets if adopting to a different document]
expected: FAIL