Ticket #7664 (closed bug: invalid)
.width() returns incorrect width of select elemets in FF3+ for OS X
|Reported by:||adamsentz@…||Owned by:||adamsentz@…|
In Firefox 3 or later for OS X, as of the changes in jQuery 1.4.1 .width() returns the width of the content area (content box) instead the entire select box (border-box) as would be expected, and as it works in every other browser I've tested.
.width(value) still sets the width according to the "border-box" model.
This means that if you get the width of a select element and then set the width to that value its width will decrease. I've tested FF3.6 PC, IE8, Safari 5 for OS X, and the latest version of Chrome for both OS X and Windows 7. I am only a able to reproduce this behavior in Firefox 3+ for OS X.
- Owner set to adamsentz@…
- Status changed from new to pending
- Priority changed from undecided to low
- Resolution set to invalid
- Status changed from pending to closed
- Component changed from unfiled to manipulation