Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9554 closed bug (worksforme)

offset() fails in Chrome 12

Reported by: speednet Owned by:
Priority: low Milestone: 1.next
Component: offset Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


Elements without CSS positioning return an .offset().top of zero (0).

I created a JS Fiddle demonstrating this: http://jsfiddle.net/Speednet/ZVVfM/1/

Chrome 12 (12.0.742.91) reports zero(0) for .offset().top, all other browsers report 495.

Change History (4)

comment:1 Changed 12 years ago by speednet

Update: Opera and Safari report 510 for the top, and IE and Firefox report 495. But Chrome 12 reports 0. Just to be precise!

comment:2 Changed 12 years ago by Rick Waldron

Component: unfiledoffset
Priority: undecidedlow
Resolution: worksforme
Status: newclosed

This appears to be fixed in Chrome 13 (dev)

comment:3 Changed 12 years ago by speednet

I hear you, but it means my web sites won't work for Chrome users for the next 6-8 weeks, or however long it takes them to fix the bug in a stable release. Any ideas how I can at least patch jQuery until then?

comment:4 Changed 12 years ago by anonymous

I am having the exact same issue. My site worked find until I upgraded to Chrome 12 a few days ago. If anyone knows a work around, please post.

Note: See TracTickets for help on using tickets.