Skip to main content

Bug Tracker

Side navigation

#8552 closed bug (duplicate)

Opened March 17, 2011 06:55PM UTC

Closed March 30, 2011 05:40PM UTC

Last modified March 30, 2011 05:40PM UTC

width() en height() functions return element's percentage value minus %-sign when parent's display is 'none'

Reported by: lmeurs Owned by:
Priority: low Milestone: 1.next
Component: dimensions Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

On FireFox 3.6 and Chrome 10.0 the width()/height() functions return element's percentage value with the %-sign stripped off, when parent's display is 'none'.

Internet Explorer 8 returns null, Opera 10.6 returns the width of the parent's parent.

See: http://jsfiddle.net/vegh4/

Attachments (0)
Change History (2)

Changed March 30, 2011 05:40PM UTC by rwaldron comment:1

component: unfileddimensions
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed March 30, 2011 05:40PM UTC by rwaldron comment:2

Duplicate of #7928.