Modify ↓
Ticket #7732 (closed bug: duplicate)
outerWidth bug when elem is hidden
| Reported by: | amoschen | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.6 |
| Component: | dimensions | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
the outerWidth function doesn't take padding,margin and border into consideration when the element is hidden. In other words, when an element is hidden(display:none), the output of outerWidth() is equal to width().
Change History
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.
