Bug Tracker

Opened 14 years ago

Closed 12 years ago

#4583 closed bug (invalid)

Offset doesn't work correctly in Opera

Reported by: m.wysocki Owned by: brandon
Priority: major Milestone: 1.3.2
Component: offset Version: 1.3.2
Keywords: offset bug opera top parent Cc:
Blocked by: Blocking:


I've got table and td element inside <div>




<td id="someTdId">


$("#someTdId").offset() return {left: good, top: bad} Offset function returns top offset of the div/table/tbody.

Bug shows up in Opera 9.27. Code works for me in FF 3.0.5 and Google chrome

Change History (4)

comment:1 Changed 14 years ago by m.wysocki

I'm using jQuery v1.3.2 Revision: 6246.

comment:2 Changed 14 years ago by vz1b2005

I have exactly the same problem.

In Opera 9.64 offset() works just fine.

comment:3 Changed 13 years ago by netmac

You should not use scrollTop and scrollLeft for TR and TBODY during element offset calculation (for opera 9.27).

comment:4 Changed 12 years ago by miketaylr

Resolution: invalid
Status: newclosed

Can you reopen with a working testcase? Closing as invalid for now.

Note: See TracTickets for help on using tickets.