Files
sdk/client/html/src/Node.dart
T
jimhug@google.com 42c584b7c4 Revert "Example showing alternate async measurement solution"
This reverts r3473 which was causing several buildbots to go red due to
breaks in swarm tests.

The issue appears to be minor - but the buildbots have been red for too long.

Review URL: https://chromiumcodereview.appspot.com//9145004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3474 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-21 13:53:40 +00:00

38 lines
910 B
Dart

// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// TODO(jacobr): stop extending eventTarget.
interface Node extends EventTarget {
NodeList get nodes();
// TODO: The type of value should be Collection<Node>. See http://b/5392897
void set nodes(value);
Node get nextNode();
Document get document();
Node get parent();
Node get previousNode();
String get text();
void set text(String value);
Node replaceWith(Node otherNode);
Node remove();
bool contains(Node otherNode);
// TODO(jacobr): remove when/if Array supports a method similar to
// insertBefore or we switch NodeList to implement LinkedList rather than
// array.
Node insertBefore(Node newChild, Node refChild);
Node clone(bool deep);
}