Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index 112f7fb72cf6012367380a5f02f6118f2bf63662..a1e5a4c422af450fdad3006a0e037ad24de79107 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -4056,6 +4056,11 @@ class CssStyleDeclaration extends Interceptor with |
return style; |
} |
+ /// Returns the value of the property if the provided *CSS* property |
+ /// name is supported on this element and if the value is set. Otherwise |
+ /// returns an empty string. |
+ /// |
+ /// Please note the property name uses camelCase, not-hyphens. |
String getPropertyValue(String propertyName) { |
var propValue = _getPropertyValueHelper(propertyName); |
return propValue != null ? propValue : ''; |