// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://crbug.com/1453291
// https://github.com/WICG/webcomponents/blob/gh-pages/proposals/DOM-Parts.md
[RuntimeEnabled=DOMPartsAPI,Exposed=Window]
interface ChildNodePart : Part {
[RaisesException] constructor(PartRoot root, Node previousSibling, Node nextSibling, optional PartInit init = {});
readonly attribute Node previousSibling;
readonly attribute Node nextSibling;
readonly attribute FrozenArray<Node> children;
[RaisesException] void replaceChildren((Node or DOMString or TrustedScript)... nodes);
};