Ticket #7395 (closed bug: fixed)
css() and the dimensions functions broken
|Reported by:||jitter||Owned by:||john|
The dimensions functions and the css() function (atleast for width, height) are broken for the jQuery GIT (aka WIP) version.
This happens (for me) in Opera, FF, Chrome (I guess IE, Safari won't be any different).
It happens for divs which are empty/non empty unstyled or only either width or height` are explicitly set. And it gets worse for display:none elements.
The test case. Don't forget to try different scenarios like including parts of the commented out css or the commented out <p> and rerun the test (you can also throw in some margin, padding, border-width settings to see variations of the bug)
Especially that the return values for width() and height() are sometimes non numeric is problematic (it defeats the documented purpose to use them when doing mathematical calculations)
Also in Opera the breakage is normally worse than in FF or Chrome, where at least some cases seem to work.
- Priority changed from undecided to blocker
- Status changed from new to open
- Component changed from unfiled to css
- Milestone changed from 1.5 to 1.4.4