script: Support custom element states (#38564)

Also adds support for `:state`.

Testing: Covered by existing tests

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-08-27 19:25:16 +02:00 committed by GitHub
parent dcd25072d3
commit 04dd74dddb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 209 additions and 152 deletions

View file

@ -4394,30 +4394,6 @@
[OffscreenCanvasRenderingContext2D interface: operation roundRect(unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>))]
expected: FAIL
[ElementInternals interface: attribute states]
expected: FAIL
[CustomStateSet interface: existence and properties of interface object]
expected: FAIL
[CustomStateSet interface object length]
expected: FAIL
[CustomStateSet interface object name]
expected: FAIL
[CustomStateSet interface: existence and properties of interface prototype object]
expected: FAIL
[CustomStateSet interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[CustomStateSet interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[CustomStateSet interface: setlike<DOMString>]
expected: FAIL
[UserActivation interface: existence and properties of interface object]
expected: FAIL