Modify ↓
Ticket #8207 (closed bug: duplicate)
outerWidth(true) returns width of parent in Chrome9
| Reported by: | mediamens | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.next |
| Component: | dimensions | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It appears that outerWidth(true) returns the width of the parent element in Chrome 9. It works OK in Safari 3.6 and IE 8
I've provided a simple test-html
Change History
comment:2 Changed 2 years ago by snover
- Status changed from new to closed
- Resolution set to duplicate
comment:4 Changed 2 years ago by jitter
- Priority changed from undecided to high
- Version changed from 1.4.4 to 1.5
- Component changed from unfiled to dimensions
comment:5 Changed 13 months ago by anonymous
related: http://bugs.jquery.com/ticket/11584
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Oops, I meant "Firefox 3.6" above, not "Safari 3.6", sry!
The simple test-html can be found here: http://jsfiddle.net/HcyBx Try resizing the Window to see what happens. In Chrome9 the outerWidth(true) value changes, while it should not. Also note that the outerWidth(true) of the red DIV is not correct.