Bug
1838966 [wpt PR 40603] - Add the ability to disconnect DOM Parts, a=testonly
Automatic update from web-platform-tests
Add the ability to disconnect DOM Parts
This turns out to be important, at least in the case of writing
tests. `disconnect()` is a one-way operation; there's no way to
re-connect a part to its part root.
This CL also adds the constraint that NodePart can't have child parts.
It therefore adds exceptions to the constructors for NodePart and
ChildNodePart in the case that a NodePart is supplied.
Bug:
1453291
Change-Id: Ied398c417b1e105c77a95c3836ee2d09902df7c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4617275
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1159094}
--
wpt-commits:
84d8aa38655c6c1a010703fc07479108427b3a04
wpt-pr: 40603