Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14922 closed bug (notabug)

IE11 - Incorrect css('height') of box-sized element if parent is hidden

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:



If parent is hidden, css('height') reports non box-sizing height. Once parent is shown, correct dimensions are shown.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: notabug
Status: newclosed

I don't think we've ever guaranteed that we can accurately get the height of a parent-hidden element. To do so would torment the browser into a significant forced layout, so it's better not to ask the question. The docs are silent on this, which is an error of omission, but there's plenty in Google about it.

I've moved this to a docs item, https://github.com/jquery/api.jquery.com/issues/469

Note: See TracTickets for help on using tickets.