[wpt-sync] Sync PR 41010 - Add children and replaceChildren support to ChildNodePart
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41010 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41010
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Add children and replaceChildren support to ChildNodePart
This also changes IsValid for ChildNodePart to return false if the
endpoints are the same. It seems like there needs to be a "gap"
between them or things get weird when you do replaceChildren.Bug: 1453291
Change-Id: I0b7b0a1d7e47a3e315d20cfa09d0e55c2c06f346
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4681916
Commit-Queue: Mason Freed \<masonf@chromium.org>
Reviewed-by: David Baron \<dbaron@chromium.org>
Auto-Submit: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1169613}
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 16 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 16
Chrome
OK
: 1
PASS
: 1
FAIL
: 15
Safari
OK
: 1
FAIL
: 16
Links
Details
New Tests That Don't Pass
- /dom/parts/basic-dom-part-objects.tentative.html [wpt.fyi]
- Basic imperative DOM Parts object construction (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning Element (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning Text (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning Comment (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning CDATASection (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning ProcessingInstruction (Document):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Basic imperative DOM Parts object construction (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning Element (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning Text (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning Comment (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning CDATASection (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cloning ProcessingInstruction (DocumentFragment):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - DOM mutation support:
FAIL
(Chrome:PASS
, Safari:FAIL
) - ChildNodePart children manipulation:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Basic imperative DOM Parts object construction (Document):
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/28d6fd0dc0b6
https://hg.mozilla.org/mozilla-central/rev/a0257102281f
Description
•