Bug Tracker

Modify

Ticket #7732 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by jitter

  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to dimensions

comment:2 Changed 3 years ago by jitter

Duplicate of #7618.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.