Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: client/html/src/XMLElement.dart

Issue 9430066: Add some sweet XML classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+}

Powered by Google App Engine
This is Rietveld 408576698