Skip to main content

Bug Tracker

Side navigation

#5562 closed bug (invalid)

Opened November 28, 2009 08:33AM UTC

Closed November 30, 2009 05:10PM UTC

Can not get image size

Reported by: zivyuan Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.1
Keywords: image,img,width,height Cc:
Blocked by: Blocking:
Description

If a image in a conatiner which css property "display" set as "none", we can use the $.height() and $.width() to get the right value.

I tried to use .attr() method instead but get undefined. At last I use the css property to fix the problem.

Attachments (0)
Change History (1)

Changed November 30, 2009 05:10PM UTC by jdsharp comment:1

resolution: → invalid
status: newclosed

This is not a bug