Skip to main content

Bug Tracker

Side navigation

#9783 closed bug (invalid)

Opened July 08, 2011 12:08PM UTC

Closed July 23, 2011 07:53AM UTC

Last modified August 11, 2011 01:57PM UTC

Getting dimensions of a cached picture

Reported by: anonymous Owned by: anonymous
Priority: low Milestone:
Component: css Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

When you load a cached picture (let says 50x50px) by:


alert(j(this).width()+' px : '+j(this).css('width')+' px');


It returns:

jquery1.5.2 -> 50 px : 50 px

jquery1.6.2 -> 0 px : undefined px

Attachments (0)
Change History (5)

Changed July 08, 2011 01:11PM UTC by timmywil comment:1

component: unfiledcss
owner: → anonymous
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on that reproduces the issue experienced to help us assess your ticket.

Additionally, test against the jQuery (edge) version to ensure the issue still exists.

Changed July 08, 2011 04:18PM UTC by anonymous comment:2

status: pendingnew

I suggest to change the priority to high. All my image loadings does not work for example.

About a test case with, jquery 1.6.2 is not provided (on July the 8th, 2011).

Changed July 08, 2011 05:33PM UTC by timmywil comment:3

status: newpending

Click the fork button. jQuery(edge) is the version that should be used for test cases.

Changed July 23, 2011 07:53AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed August 11, 2011 01:57PM UTC by anonymous comment:5

See it in action:

Switch jquery version from 1.6.2 to 1.5.2 and see results.