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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 9729c5106bfca25850f2cc0b02a4a041e990e494..7733a8aef5892e404e944c1bb968970c89e05f3c 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -18417,8 +18417,17 @@ class TableSectionElement extends Element native "HTMLTableSectionElement" {
@DocsEditable
@DomName('HTMLTemplateElement')
+@SupportedBrowser(SupportedBrowser.CHROME)
+@Experimental
class TemplateElement extends Element native "HTMLTemplateElement" {
+ @DomName('HTMLTemplateElement.HTMLTemplateElement')
+ @DocsEditable
+ factory TemplateElement() => document.$dom_createElement("template");
+
+ /// Checks if this type is supported on the current platform.
+ static bool get supported => Element.isTagSupported('template');
+
@DomName('HTMLTemplateElement.content')
@DocsEditable
final DocumentFragment content;
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698