Closed Bug 1762325 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33440 - Ensure fallback setup when manual slots are inserted into shadow DOM

Categories

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

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

Ensure fallback setup when manual slots are inserted into shadow DOM

When a new slot is added to a shadow DOM with manual slot assignment,
while the slot is guaranteed to not have any assigned node, it may still
have fallback content. This patch ensures that the fallback content is
correctly set up, so that it can be correctly rendered, and can be
correctly cleared when the slot gets an assignment.

Fixed: 1292292
Change-Id: I74403ab7c6003a9a0203cfdce1c2896f9529499e
Reviewed-on: https://chromium-review.googlesource.com/3562222
WPT-Export-Revision: 2fecdc8dbc98271d5d2137177b50510a0945d8a0

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 2 tests and 2 subtests

Status Summary

Firefox

OK : 2
PASS: 4

Chrome

OK : 2
PASS: 2
FAIL: 2

Safari

OK : 2
PASS: 2
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ebfd123226b0
[wpt PR 33440] - Ensure fallback setup when manual slots are inserted into shadow DOM, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.