Skip to main content

Bug Tracker

Side navigation

#2268 closed bug (invalid)

Opened February 01, 2008 08:59AM UTC

Closed April 29, 2008 09:28PM UTC

Last modified May 13, 2008 05:43PM UTC

offset is incorrect in a scrolling tbody

Reported by: daepark Owned by: brandon
Priority: major Milestone: 1.2.4
Component: offset Version: 1.2.2
Keywords: Cc:
Blocked by: Blocking:
Description

When a table tbody is set to scroll by setting a height and overflow to auto ( tbody { height: 100px, overflow: auto } ), calculating the offset of any elements within the tbody is off by the amount you've scrolled. Please see attached test case.

Attachments (1)
  • scrolltest.html (2.2 KB) - added by daepark February 01, 2008 08:59AM UTC.
Change History (3)

Changed March 15, 2008 06:23AM UTC by flesler comment:1

Have you actually tested that on IE ? you can't just set overflow:auto to a tbody and get scrollbars.

I might be possible with deep css hacks.

I reported this here: http://groups.google.com/group/jquery-dev/browse_thread/thread/64d9d01267aa69ea#

But the change seems useless, as it's not a valid situation on all supported browsers.

Changed April 29, 2008 09:28PM UTC by joern comment:2

resolution: → invalid
status: newclosed

Agreed with Ariel.

Changed May 13, 2008 05:43PM UTC by flesler comment:3

milestone: 1.2.21.2.4