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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 10908269: Fixing up setting styles to invalidate on IE9. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing CSSStyleDeclaration on dartium (duplicate setProperty). Created 8 years, 3 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 | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index f470f2d78d2fae2350579d1fb027bc3ec56e26ce..7fd92509e213a6970ddbd1fb24cbde701fe6fd45 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -944,8 +944,14 @@ class _CSSStyleDeclarationImpl implements CSSStyleDeclaration native "*CSSStyleD
String removeProperty(String propertyName) native;
- void setProperty(String propertyName, String value, [String priority]) native;
+ void setProperty(String propertyName, String value, [String priority]) native '''
+ this.setProperty(propertyName, value, priority);
+ // Bug #2772, IE9 requires a poke to actually apply the value.
+ if (this.setAttribute) {
+ this.setAttribute(propertyName, value);
+ }
+ ''';
// TODO(jacobr): generate this list of properties using the existing script.
/** Gets the value of "animation" */
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698