Ticket #7286 (closed bug: wontfix)
.css(propertyName) returns values with floating comma instead of a dot for some properties in Chrome 7
|Reported by:||mateusz.haligowski@…||Owned by:|
When you hover the box, in Chrome 7 (Polish) it first disappears (changing its opacity to 0), then it fades to 1.
The problem is with .css("opacity"), which returns value 0,5 (parseFloat("0,5") === 0) instead of 0.5 (parseFloat("0.5" === 0.5).
Issue probably appears for other properties as well, it may not affect other functions as opacity affects fadeIn and fadeOut. It may also be a locale issue, as comma is a decimal separation character in Polish.
I believe jQuery's $.css() should be cross-browser, or shouldn't it?