// 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 NodePart : Part { | |
[RaisesException] constructor(PartRoot root, Node node, optional PartInit init = {}); | |
readonly attribute Node node; | |
}; |