script: Implement CSS.registerProperty (#38682)

The implementation is mostly equivalent to
https://searchfox.org/mozilla-central/source/servo/ports/geckolib/glue.rs#9480.

Testing: New web platform tests start to pass

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-08-14 15:34:02 +02:00 committed by GitHub
parent 3a0e8fefde
commit 43da933247
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 185 additions and 46 deletions

View file

@ -1,17 +1,6 @@
[animation-important-001.html]
expected: ERROR
[Interpolated value is observable]
[Standard property animations appearing via setKeyframes do not override important declarations]
expected: FAIL
[Important rules override animations (::before)]
[Custom property animations appearing via setKeyframes do not override important declarations]
expected: FAIL
[Non-overriden interpolations are observable]
expected: FAIL
[Important rules do not override animations on :visited as seen from JS]
expected: FAIL
[Important rules override animations]
expected: FAIL