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

Unified Diff: dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate

Issue 348743003: Support Shadow DOM in Chrome Beta (36). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « dart/sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate
diff --git a/dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate b/dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate
index 559ba25dabc04670e1c5db3149dc3fee9471bccc..883faea39b63cfb1a0111ccedc3758ba04650b26 100644
--- a/dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate
+++ b/dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate
@@ -10,7 +10,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
$!MEMBERS
$if DART2JS
static bool get supported =>
- JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)');
+ JS('bool', '!!(Element.prototype.createShadowRoot||'
+ 'Element.prototype.webkitCreateShadowRoot)');
$else
static final bool supported = true;
$endif
« no previous file with comments | « dart/sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698