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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 10905219: Revert "Fixing up setting styles to invalidate on IE9." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 631809305fc67ebc39e58e6402a524bfd5fccc73..f470f2d78d2fae2350579d1fb027bc3ec56e26ce 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -944,6 +944,8 @@ class _CSSStyleDeclarationImpl implements CSSStyleDeclaration native "*CSSStyleD
String removeProperty(String propertyName) native;
+ void setProperty(String propertyName, String value, [String priority]) native;
+
// TODO(jacobr): generate this list of properties using the existing script.
/** Gets the value of "animation" */
@@ -3708,13 +3710,6 @@ class _CSSStyleDeclarationImpl implements CSSStyleDeclaration native "*CSSStyleD
void set zoom(var value) {
setProperty('zoom', value, '');
}
-
- void setProperty(String propertyName, String value, [String priority]) native '''
- this.setProperty(propertyName, value, priority);
- if (this.setAttribute) {
- this.setAttribute(propertyName, value);
- }
- ''';
}
class _CSSStyleRuleImpl extends _CSSRuleImpl implements CSSStyleRule native "*CSSStyleRule" {
« 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