From cbbacd858503ac1e8a85a8c8eb59dad1747ed23b Mon Sep 17 00:00:00 2001 From: "Fabio M. Costa" Date: Tue, 6 Apr 2010 23:25:34 -0300 Subject: [PATCH] fixes #756, there are specs and they are passing. --- Source/Element/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Element/Element.js b/Source/Element/Element.js index 4293b66af..ca22acac2 100644 --- a/Source/Element/Element.js +++ b/Source/Element/Element.js @@ -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(){