Skip to main content

Bug Tracker

Side navigation

#4583 closed bug (invalid)

Opened April 23, 2009 01:12PM UTC

Closed October 26, 2010 06:14PM UTC

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:
Description

I've got table and td element inside

<div>

<table>

<tbody>

<tr>

<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 1.0.154.53.

Attachments (0)
Change History (4)

Changed April 23, 2009 01:15PM UTC by m.wysocki comment:1

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

Changed April 29, 2009 03:08PM UTC by vz1b2005 comment:2

I have exactly the same problem.

In Opera 9.64 offset() works just fine.

Changed October 01, 2009 12:11PM UTC by netmac comment:3

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

Changed October 26, 2010 06:14PM UTC by miketaylr comment:4

resolution: → invalid
status: newclosed

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