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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 13686018: Testing & supporting new HTMLTemplateElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/element_types_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 496f6403e372ddb60a76c02c565284b45cde95ee..f21db339df64828995bf0aee972ae57fa286e447 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -19822,9 +19822,18 @@ class TableSectionElement extends _Element_Merged {
@DocsEditable
@DomName('HTMLTemplateElement')
+@SupportedBrowser(SupportedBrowser.CHROME)
+@Experimental
class TemplateElement extends _Element_Merged {
TemplateElement.internal() : super.internal();
+ @DomName('HTMLTemplateElement.HTMLTemplateElement')
+ @DocsEditable
+ factory TemplateElement() => document.$dom_createElement("template");
+
+ /// Checks if this type is supported on the current platform.
+ static bool get supported => true;
+
@DomName('HTMLTemplateElement.content')
@DocsEditable
DocumentFragment get content native "HTMLTemplateElement_content_Getter";
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/element_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698