Closed Bug 2094997 Opened 10 days ago Closed 8 days ago

[wpt-sync] Sync PR 65034 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=331095

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 65034 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/65034
Details from upstream follow.

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=331095

WebKit export from bug: Look up disabled shadow roots in the element'<!---->s custom element registry

<pre>
Look up disabled shadow roots in the element's custom element registry

attachShadow() checked whether a custom element definition disables shadow
roots in the window's custom element registry. As in the DOM Standard, use the
element's registry instead. Otherwise a scoped registry's definition was
ignored, and the global registry's applied to elements with a scoped or null
registry.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=331095">https://bugs.webkit.org/show_bug.cgi?id=331095</a>
</pre>

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 7 subtests

Status Summary

Firefox

OK : 1
PASS: 4
FAIL: 3

Chrome

OK : 1
PASS: 7

Safari

OK : 1
PASS: 1
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /custom-elements/registries/Element-attachShadow-disabled-shadow.window.html [wpt.fyi]
    • attachShadow() ignores the global registry for an element with a scoped registry: FAIL (Chrome: PASS, Safari: FAIL)
    • attachShadow() ignores the global registry for an element in a shadow tree with a scoped registry: FAIL (Chrome: PASS, Safari: FAIL)
    • attachShadow() ignores the global registry for an element with a null registry: FAIL (Chrome: PASS, Safari: FAIL)
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.