Skip to content

Commit

Permalink
fixes #756, there are specs and they are passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomcosta committed Apr 7, 2010
1 parent 57c7bc5 commit cbbacd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Element/Element.js
Expand Up @@ -514,7 +514,7 @@ Element.implement({
if (this.currentStyle) return this.currentStyle[property.camelCase()];
var defaultView = this.getDocument().defaultView;
var computed = defaultView && defaultView.getComputedStyle(this, null);
return (computed) ? computed.getPropertyValue([property.hyphenate()]) : null;
return (computed) ? computed.getPropertyValue(property.contains('Float') ? 'float' : property.hyphenate()) : null;
},

toQueryString: function(){
Expand Down

0 comments on commit cbbacd8

Please sign in to comment.