Bug Tracker

Opened 13 years ago

Closed 13 years ago

#7070 closed bug (invalid)

.css("height") hack by Dean Edwards

Reported by: ISoft Owned by:
Priority: blocker Milestone: 1.4.3
Component: css Version: 1.4.2
Keywords: css height Cc:
Blocked by: Blocking:

Description

Calling the function .css("height") on an element with a 100% style height using Internet Explorer 6 returns the element width and not its height. The hack by Dean Edwards is maybe 'awesome' but its purpose is only to compute element width. So this hack should be modified to handle height as well.

Change History (1)

comment:1 Changed 13 years ago by john

Milestone: 1.4.21.4.3
Resolution: invalid
Status: newclosed

That particular code path doesn't get called when you're asking for the height or width - it's attempts to compute the height/width in another way (using offsetWidth/Height). Additionally this has been made much more prominent in 1.4.3 as the offset code path is now at the fore-front of the calculation.

Note: See TracTickets for help on using tickets.