Ticket #8321 (closed bug: invalid)
css() units returned
|Reported by:||Keigl||Owned by:||Keigl|
I noted a few examples of the issue that is causing problems for me already posted in the css() page on the jQuery site, but it doesn't seem that anyone has submitted this as a bug.
So, I also would be interested in seeing the actual value of CSS elements returned by th css() function. Such was the case in the most recent version of jQuery that my team has been able to utilize (version 1.4.2) and prior versions. NOTE: 1.4.3 was not tested by our team, we had missed an upgrade, and so moved directly to 1.4.4 and have now tested with 1.5.
Here's the problem with 1.4.4 and 1.5. In versions of jQuery before and including 1.4.2, when a value was called, for example $("#divel").css("width"), if the unit contained in the stylesheet was other than "px" (perhaps "em") the "em" value would be returned. Ever since version 1.4.2 our team has been unable to upgrade to a newer version because many of our larger projects have been set up for "em", and now all that is being returned from such calls in new versions is "px" converted values. It would sure be nice to be able to use the newest advances within jQuery again.
- Owner set to Keigl
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to css
- Status changed from pending to closed
- Resolution set to invalid