mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove all code relating to shadow trees, insertion points, shadow boundaries, traversing composed trees, distribution, template documents, custom elements, registering elements, element registries, element factories, shadow roots, etc. Remove the following features from the IDLs and from the binding generators: CustomElementCallbacks, Reflect*, EventHandler. Remove the CSS custom pseudo-element concept, since we no longer have a UA style sheet worth talking about, no longer have shadow trees or custom elements, no longer use pseudo-elements, and generally therefore don't use this code at all.
25 lines
927 B
Plaintext
25 lines
927 B
Plaintext
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
interface Node {
|
|
Node cloneNode([Named] optional boolean deep = true);
|
|
|
|
readonly attribute ParentNode owner;
|
|
readonly attribute ParentNode parentNode;
|
|
readonly attribute Element parentElement;
|
|
|
|
readonly attribute Node nextSibling;
|
|
readonly attribute Node previousSibling;
|
|
readonly attribute Element nextElementSibling;
|
|
readonly attribute Element previousElementSibling;
|
|
|
|
[RaisesException, ImplementedAs=newInsertBefore] void insertBefore(sequence<Node> nodes);
|
|
[RaisesException, ImplementedAs=newInsertAfter] void insertAfter(sequence<Node> nodes);
|
|
[RaisesException] void replaceWith(sequence<Node> nodes);
|
|
|
|
[RaisesException] void remove();
|
|
|
|
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString textContent;
|
|
};
|