Index: lib/html/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
=================================================================== |
--- lib/html/templates/html/impl/impl_CSSStyleDeclaration.darttemplate (revision 13188) |
+++ lib/html/templates/html/impl/impl_CSSStyleDeclaration.darttemplate (working copy) |
@@ -24,6 +24,15 @@ |
$!MEMBERS |
$if DART2JS |
+ String getPropertyValue(String propertyName) { |
+ var propValue = JS('Object', '#.getPropertyValue(#)', this, propertyName); |
+ if (propValue == null) { |
+ return ''; |
+ } else { |
+ return propValue; |
+ } |
+ } |
+ |
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. |