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

Unified Diff: client/base/DomWrapper.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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 | client/fling/dist/runtime/apps/adminz/adminz.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/base/DomWrapper.dart
diff --git a/client/base/DomWrapper.dart b/client/base/DomWrapper.dart
index ab20d033eb3864f2281fc1e035cdf254169a5f78..d640545e6e97f05967a0a7241ad431cd9189e997 100644
--- a/client/base/DomWrapper.dart
+++ b/client/base/DomWrapper.dart
@@ -18,7 +18,7 @@ class Dom {
/** Adds the given <style> text to the page. */
static void addStyle(String cssText) {
- StyleElement style = document.createElement('style');
+ StyleElement style = new Element.tag('style');
style.type = 'text/css';
style.text = cssText;
document.head.nodes.add(style);
« no previous file with comments | « no previous file | client/fling/dist/runtime/apps/adminz/adminz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698