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

Unified Diff: pkg/third_party/html5lib/lib/dom.dart

Issue 78663004: fix script tags -- remove special case handling for polymer-element (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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: pkg/third_party/html5lib/lib/dom.dart
diff --git a/pkg/third_party/html5lib/lib/dom.dart b/pkg/third_party/html5lib/lib/dom.dart
index d73edaac35a3bafc374032754fcf67465809fc3f..1c0b6de94f425389507abd621afe3ad619b20cd6 100644
--- a/pkg/third_party/html5lib/lib/dom.dart
+++ b/pkg/third_party/html5lib/lib/dom.dart
@@ -181,6 +181,8 @@ abstract class Node {
nodes.addAll(parseFragment(value, container: tagName).nodes);
}
+ Node get firstChild => nodes.isNotEmpty ? nodes[0] : null;
+
void _addOuterHtml(StringBuffer str);
void _addInnerHtml(StringBuffer str) {

Powered by Google App Engine
This is Rietveld 408576698