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

Unified Diff: dart/sdk/lib/html/dart2js/html_dart2js.dart

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:
Download patch
« no previous file with comments | « no previous file | dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/dart/sdk/lib/html/dart2js/html_dart2js.dart b/dart/sdk/lib/html/dart2js/html_dart2js.dart
index 3a1e464a3ce902b7ed2fa402ec09a573789d4a18..2e8e500e8d08c71581a822183623f5f68d0492c8 100644
--- a/dart/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/dart/sdk/lib/html/dart2js/html_dart2js.dart
@@ -23344,7 +23344,8 @@ class ShadowRoot extends DocumentFragment native "ShadowRoot" {
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() {
« no previous file with comments | « no previous file | dart/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698