Sync WPT with upstream (13-04-2025) (#36488)

Automated downstream sync of changes from upstream as of 13-04-2025
[no-wpt-sync]

Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
This commit is contained in:
Servo WPT Sync 2025-04-13 04:52:15 +02:00 committed by GitHub
parent 85bd0918f2
commit 0c045fc247
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
296 changed files with 8510 additions and 3764 deletions

View file

@ -19,3 +19,12 @@
[initialize is no-op on a subtree with a non-null registry]
expected: FAIL
[initialize sets element.customElementRegistry to the global registry]
expected: FAIL
[initialize sets element.customElementRegistry to a scoped registry]
expected: FAIL
[initialize sets element.customElementRegistry permantently]
expected: FAIL

View file

@ -0,0 +1,12 @@
[Document-customElementRegistry.html]
[customElementRegistry on a document should return window.customElements by default]
expected: FAIL
[customElementRegistry on a document without a browsing context should return null]
expected: FAIL
[customElementRegistry on a document of a connected iframe should return contentWindow.customElements]
expected: FAIL
[customElementRegistry on a document of a disconnected iframe should return contentWindow.customElements]
expected: FAIL

View file

@ -0,0 +1,6 @@
[Element-customElementRegistry-exceptions.tentative.html]
[customElementRegistry on a failed custom element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElementRegistry on a failed custom element created by setting innerHTML should return the associated scoped registry]
expected: FAIL

View file

@ -0,0 +1,30 @@
[Element-customElementRegistry.tentative.html]
[customElementRegistry on a newly constrcuted element should return window.customElements by default]
expected: FAIL
[customElementRegistry on an element inside a declarative shadow DOM should return window.customElements by default]
expected: FAIL
[customElementRegistry on an element inside a declarative shadow DOM with shadowrootcustomelementregistry should return null]
expected: FAIL
[customElementRegistry on a clone of a declarative shadow tree with shadowrootcustomelementregistry should return null]
expected: FAIL
[customElementRegistry on a clone of a declarative shadow tree with shadowrootcustomelementregistry should return the global registry after getting inserted into a document]
expected: FAIL
[customElementRegistry on an element inside a declarative shadow DOM with shadowrootcustomelementregistry should return the scoped registry after calling initialize]
expected: FAIL
[customElementRegistry on a builtin element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElementRegistry on an upgarde candidate created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElementRegistry on an unknown element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElementRegistry on a defined custom element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL

View file

@ -1,6 +0,0 @@
[Element-customElements-exceptions.tentative.html]
[customElements on a failed custom element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElements on a failed custom element created by setting innerHTML should return the associated scoped registry]
expected: FAIL

View file

@ -1,30 +0,0 @@
[Element-customElements.tentative.html]
[customElements on a newly constrcuted element should return window.customElements by default]
expected: FAIL
[customElements on an element inside a declarative shadow DOM should return window.customElements by default]
expected: FAIL
[customElements on an element inside a declarative shadow DOM with shadowrootcustomelements should return null]
expected: FAIL
[customElements on a clone of a declarative shadow tree with shadowrootcustomelements should return null]
expected: FAIL
[customElements on a clone of a declarative shadow tree with shadowrootcustomelements should return the global registry after getting inserted into a document]
expected: FAIL
[customElements on an element inside a declarative shadow DOM with shadowrootcustomelements should return the scoped registry after calling initialize]
expected: FAIL
[customElements on a builtin element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElements on an upgarde candidate created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElements on an unknown element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL
[customElements on a defined custom element created by calling createElement on CustomElementRegistry should return the registry]
expected: FAIL

View file

@ -1,4 +1,4 @@
[ShadowRoot-init-customElements.tentative.html]
[ShadowRoot-init-customElementRegistry.tentative.html]
[A newly attached disconnected ShadowRoot should use the global registry by default]
expected: FAIL
@ -10,3 +10,6 @@
[A newly attached connected ShadowRoot should use the scoped registry if explicitly specified in attachShadow]
expected: FAIL
[attachShadow() should throw for a null customElementRegistry value]
expected: FAIL

View file

@ -0,0 +1,3 @@
[initial-about-blank.tentative.window.html]
[Each navigable document has its own registry]
expected: FAIL

View file

@ -7,3 +7,6 @@
[Serializing a ShadowRoot with a registry that differs from its host]
expected: FAIL
[shadowRootCustomElementRegistry reflects as string]
expected: FAIL

View file

@ -1,3 +0,0 @@
[CustomElementRegistry-constructor.tentative.html]
[Create non-global CustomElementRegistry and add definitions]
expected: FAIL

View file

@ -1,12 +0,0 @@
[ShadowRoot-createElement.tentative.html]
[ShadowRoot.createElement() for autonomous custom element]
expected: FAIL
[ShadowRoot.createElementNS() for autonomous custom element]
expected: FAIL
[ShadowRoot.createElement() for customized built-in element]
expected: FAIL
[ShadowRoot.createElementNS() for customized built-in element]
expected: FAIL

View file

@ -1,9 +0,0 @@
[ShadowRoot-importNode.tentative.html]
[ShadowRoot.importNode: an upgrade candidate from document]
expected: FAIL
[ShadowRoot.importNode: a custom element from another shadow tree]
expected: FAIL
[ShadowRoot.importNode: a template content from document]
expected: FAIL

View file

@ -1,15 +0,0 @@
[ShadowRoot-init-registry.tentative.html]
[ShadowRoot.registry is null if not explicitly specified]
expected: FAIL
[Attach the global registry to a shadow root]
expected: FAIL
[Attach a non-global registry to a shadow root]
expected: FAIL
[Attach the same registry to multiple shadow roots]
expected: FAIL
[Attaching registry to shadow root can only be done during initialization]
expected: FAIL

View file

@ -1,15 +0,0 @@
[ShadowRoot-innerHTML-upgrade.tentative.html]
[Upgrade into autonomous custom element when inserted via innerHTML]
expected: FAIL
[Upgrade into autonomous custom element when definition is added]
expected: FAIL
[Upgrade into customized built-in element when inserted via innerHTML]
expected: FAIL
[Upgrade into customized built-in element when definition is added]
expected: FAIL
[Upgrade into autonomous custom element should not inherit from global registry for missing values]
expected: FAIL

View file

@ -1,15 +0,0 @@
[ShadowRoot-innerHTML.tentative.html]
[innerHTML on a shadow root should use scoped custom element registry]
expected: FAIL
[innerHTML on a disconnected element should use the associated scoped custom element registry]
expected: FAIL
[innerHTML on a connected shadow root should use its scoped custom element]
expected: FAIL
[innerHTML on an inserted element should use the scoped custom element of the ancestor shadow root]
expected: FAIL
[innerHTML should not upgrade a custom element inside a template element]
expected: FAIL

View file

@ -1,6 +0,0 @@
[constructor-call.tentative.html]
[Calling custom element constructor directly without global registration should fail]
expected: FAIL
[Calling custom element constructor directly uses global registration only]
expected: FAIL