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.
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
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.
|
|
|
|
[
|
|
ImplementedAs=ContainerNode,
|
|
] interface ParentNode : Node {
|
|
readonly attribute Node firstChild;
|
|
readonly attribute Node lastChild;
|
|
readonly attribute Element firstElementChild;
|
|
readonly attribute Element lastElementChild;
|
|
|
|
sequence<Node> getChildNodes();
|
|
sequence<Element> getChildElements();
|
|
|
|
[RaisesException] void append(sequence<Node> nodes);
|
|
[RaisesException] Node appendChild(Node node);
|
|
[RaisesException] void prepend(sequence<Node> nodes);
|
|
[RaisesException] Node prependChild(Node node);
|
|
|
|
void removeChildren();
|
|
[RaisesException] Node setChild(Node node);
|
|
[RaisesException] void setChildren(sequence<Node> nodes);
|
|
|
|
// TODO(abarth): Remove when we have the selector object.
|
|
[RaisesException] Element querySelector(DOMString selectors);
|
|
[RaisesException] sequence<Element> querySelectorAll(DOMString selectors);
|
|
};
|