[wpt-sync] Sync PR 29682 - Fix a few bugs in declarative Shadow DOM cloning
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29682 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29682
Details from upstream follow.
b'Mason Freed <masonf@chromium.org>' wrote:
Fix a few bugs in declarative Shadow DOM cloning
Previously, the cloning operation would fail if the declarative shadow
root was sufficiently nested (e.g. inside another \<div> or inside a
nexted \<template>). This CL fixes this bug, by passing through the
CloneChildrenFlag to all the places it's needed.Two new test conditions are added for the two broken cases.
Fixed: 1229311
Change-Id: I3e1fe7e6075e1aa74ff753c66ee209bd08a8a29c
Reviewed-on: https://chromium-review.googlesource.com/3033299
WPT-Export-Revision: a25a15ed86abfdccd53ec71c55d1213424bfd30a
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 14 subtests
Status Summary
Firefox
OK : 1
PASS: 3
FAIL: 11
Chrome
OK : 1
PASS: 12
FAIL: 2
Safari
OK : 1
PASS: 3
FAIL: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/shadow-dom/declarative/declarative-shadow-dom-basic.tentative.html
Declarative Shadow DOM: Basic test: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: Feature detection: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: Fragment parser basic test: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: Closed shadow root attribute: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: Missing closing tag: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: delegates focus attribute: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: Multiple roots: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: template containing declarative shadow root: FAIL (Chrome: PASS, Safari: FAIL)
Declarative Shadow DOM: template containing (deeply nested) declarative shadow root: FAIL (Chrome: FAIL, Safari: FAIL)
Declarative Shadow DOM: template containing a template containing declarative shadow root: FAIL (Chrome: FAIL, Safari: FAIL)
Declarative Shadow DOM: template containing declarative shadow root and UA shadow root: FAIL (Chrome: PASS, Safari: FAIL)
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/753748265260
https://hg.mozilla.org/mozilla-central/rev/833aece515be
Description
•