Index: dart/sdk/lib/html/dart2js/html_dart2js.dart |
=================================================================== |
--- dart/sdk/lib/html/dart2js/html_dart2js.dart (revision 37845) |
+++ dart/sdk/lib/html/dart2js/html_dart2js.dart (working copy) |
@@ -23344,7 +23344,8 @@ |
Selection getSelection() native; |
static bool get supported => |
- JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); |
+ JS('bool', '!!(Element.prototype.createShadowRoot||' |
+ 'Element.prototype.webkitCreateShadowRoot)'); |
static bool _shadowRootDeprecationReported = false; |
static void _shadowRootDeprecationReport() { |