script: Convert CSS from a IDL interface with static methods to a namespace (#38579)

This change updates our implementation to match the spec. Per
https://drafts.csswg.org/cssom/#issue-24739c22 this is observable.

Testing: Covered by existing web platform tests.

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-08-10 05:35:25 +02:00 committed by GitHub
parent 7ff8724eaf
commit a60b53eded
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 21 deletions

View file

@ -374,15 +374,6 @@
[CSS namespace: [[Prototype\]\] is Object.prototype]
expected: FAIL
[CSS namespace: typeof is "object"]
expected: FAIL
[CSS namespace: has no name property]
expected: FAIL
[CSS namespace: has no length property]
expected: FAIL
[MathMLElement interface: attribute style]
expected: FAIL