Ticket #8663 (closed bug: invalid)
outerWidth Bug in Chrome and Safari
|Reported by:||kadishmal||Owned by:||kadishmal|
There seem to be a bug in the jQuery outerWidth calculations when running in Chrome and Safari. But as these two belong to Webkit, I suppose maybe it's their bug. Anyhow, please look at these.
My "body" tag width is 1521px. It has one child called "page": width=950, border=1, padding=0, margin=0 auto. This margin configuration makes it center horizontally.
Hence, outerWidth of page should be 952.
But in Chrome/Safari:
page.offset().left = 293 page.outerWidth(true) = 1538
page.offset().left = 291 page.outerWidth(true) = 952
page.offset().left = 293 page.outerWidth(true) = 952
If it is jQuery bug, then I assume it is as a result of "margin:0 auto". Perhaps it cannot calculate the outerWidth correctly in this case.
Chrome: 10.0 Safari: 5.0 IE: 8.0 FF: 4.0 jQuery: 1.4.4
- Owner set to kadishmal
- Status changed from new to pending
- Component changed from unfiled to dimensions
- Status changed from pending to closed
- Resolution set to invalid