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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 14646035: Syncing CssStyleDeclaration.setPropertyValue's signature between dart2js and dartium (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 72411293646d15e7faecc87ec3eba50eec181bb1..9fa473957ffad81f8ff319a2ecc2fe08507c65ff 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -2604,7 +2604,7 @@ class CssStyleDeclaration extends NativeFieldWrapperClass1 {
@DomName('CSSStyleDeclaration.setProperty')
@DocsEditable
- void setProperty(String propertyName, String value, String priority) native "CSSStyleDeclaration_setProperty_Callback";
+ void _setProperty(String propertyName, String value, String priority) native "CSSStyleDeclaration_setProperty_Callback";
String getPropertyValue(String propertyName) {
@@ -2617,6 +2617,14 @@ class CssStyleDeclaration extends NativeFieldWrapperClass1 {
*/
static bool get supportsTransitions => true;
+ @DomName('CSSStyleDeclaration.setProperty')
+ void setProperty(String propertyName, String value, [String priority]) {
+ if (priority == null) {
+ priority = '';
+ }
+ _setProperty(propertyName, value, priority);
+ }
+
// TODO(jacobr): generate this list of properties using the existing script.
/** Gets the value of "align-content" */
String get alignContent =>
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698