Index: client/html/src/XMLElement.dart |
diff --git a/client/html/src/XMLElement.dart b/client/html/src/XMLElement.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f646e03f4df1d8838bd8147373199893f8ecc614 |
--- /dev/null |
+++ b/client/html/src/XMLElement.dart |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2012, 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. |
+ |
+interface XMLElement extends Element default XMLElementWrappingImplementation { |
+ |
+ XMLElement.tag(String tag); |
+ XMLElement.xml(String tag); |
+ |
+ XMLElement get firstElementChild(); |
+ |
+ XMLElement get lastElementChild(); |
+ |
+ XMLElement get nextElementSibling(); |
+ |
+ XMLElement get previousElementSibling(); |
+ |
+ XMLElement get offsetParent(); |
Jacob
2012/02/22 21:55:00
Why is there a user visible XMLElement interface?
nweiz
2012/02/23 00:35:06
See my reply to the overall CL comment.
|
+ |
+ XMLElement get parent(); |
+ |
+ XMLElement insertAdjacentElement([String where, XMLElement element]); |
+ |
+ XMLElement query(String selectors); |
+ |
+ XMLElement clone(bool deep); |
+} |