Index: dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
=================================================================== |
--- dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate (revision 37934) |
+++ dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate (working copy) |
@@ -10,7 +10,8 @@ |
$!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 |