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>
This commit is contained in:
webbeef 2025-04-23 08:29:01 -07:00 committed by GitHub
parent 5d3cbc67ee
commit 30fdf48ca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 47 additions and 162 deletions

View file

@ -1,33 +1,3 @@
[nested-declarations-cssom.html]
[Trailing declarations]
expected: FAIL
[Mixed declarations]
expected: FAIL
[CSSNestedDeclarations.style]
expected: FAIL
[Nested group rule]
expected: FAIL
[Nested @scope rule]
expected: FAIL
[Inner rule starting with an ident]
expected: FAIL
[Inserting a CSSNestedDeclaration rule into style rule]
expected: FAIL
[Inserting a CSSNestedDeclaration rule into nested group rule]
expected: FAIL
[Attempting to insert a CSSNestedDeclaration rule into top-level @media rule]
expected: FAIL
[Attempting to insert a CSSNestedDeclaration rule, empty block]
expected: FAIL
[Attempting to insert a CSSNestedDeclaration rule, all invalid declarations]
expected: FAIL