Implement ElementInternals::shadowRoot (#35923)

* Implement ElementInternals::shadowRoot

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-03-12 01:09:32 +01:00 committed by GitHub
parent f527217bdc
commit 8034216d06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 44 additions and 12 deletions

View file

@ -1,10 +1,4 @@
[element-internals-shadowroot.html]
expected: ERROR
[ElementInternals.shadowRoot allows access to open shadow root]
expected: FAIL
[ElementInternals.shadowRoot allows access to closed shadow root]
expected: FAIL
[ElementInternals.shadowRoot doesn't reveal pre-attached closed shadowRoot]
expected: FAIL

View file

@ -1,3 +0,0 @@
[ElementInternals-target-element-is-held-strongly.html]
[Target element of ElementsInternals is held strongly and doesn't get GCed if there are no other references]
expected: FAIL

View file

@ -4940,9 +4940,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 shadowRoot]
expected: FAIL
[ElementInternals interface: attribute states]
expected: FAIL