Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8739 closed bug (invalid)

outerWidth() doesn't work on elements within an element with display:none

Reported by: wheresrhys Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:


Not sure if this is a really a bug, but the behaviour is a bit weird. When an element is contained in a display:none container .outerWidth() returns .css("width").


Change History (1)

comment:1 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

The element needs to be visible in order to get its dimensions properly.

Note: See TracTickets for help on using tickets.