#5440 closed bug (worksforme)
outerheight() and outerwidth() errors in firefox
Reported by: | Ollie | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.4 |
Component: | dimensions | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Firefox 3.5.4
The sizing information reported in Firefox for outerheight and outerwidth() does not accurately include border for both sides of a conatiner
This works accurately in Chrome and in IE
Attachments (2)
Change History (7)
Changed 13 years ago by
Attachment: | css_sizing.htm added |
---|
Changed 13 years ago by
Attachment: | jQuerybug.pdf added |
---|
comment:1 Changed 13 years ago by
Component: | unfiled → dimensions |
---|
comment:2 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Just to report I encountered the issue in firefox 3.6.10 on windows either.
comment:5 Changed 12 years ago by
I found this same bug on Firefox 4.0 for Mac on Snow Leopard. I fixed some of them by expanding the shortened padding definitions, e.g. 60px 20px 20px
to 60px 20px 20px 20px
But there's still a difference somewhere else.
Note: See
TracTickets for help on using
tickets.
For the above test case, the outerWidth and outerHeight being returned by FireFox 3.6.10, Chrome and Safari is:
outerHeight: 224 outerWidth: 294
This is calculated as: outerHeight: 180 + (2*20) + (2*2) = 224 (where 20 is the padding on each side and 2 represents the border width)
outerWidth: 250 + (2*20) + (2*2) = 294 (again where 20 is the padding on each side and 2 represents the border width)
which is correct.
Looking at FireFox 3.5 on the Mac, I seem to be getting the same numbers returned.
Could you resubmit the ticket informing us what platform you were testing this bug on just so we can investigate further?