Skip to main content

Bug Tracker

Side navigation

#7070 closed bug (invalid)

Opened September 23, 2010 03:45PM UTC

Closed September 23, 2010 03:55PM UTC

.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.

Attachments (0)
Change History (1)

Changed September 23, 2010 03:55PM UTC by john comment:1

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.