Skip to main content

Bug Tracker

Side navigation

#4439 closed bug (fixed)

Opened March 27, 2009 07:42PM UTC

Closed March 30, 2009 08:00AM UTC

Last modified April 07, 2009 05:15PM UTC

$.offset() and $.position() causes flicking screen in FF

Reported by: TNT Owned by: brandon
Priority: major Milestone: 1.4
Component: offset Version: 1.3.2
Keywords: offset position Cc:
Blocked by: Blocking:
Description

Hi.

i found bug.

i have test page where use $.offset() to determine exact position on element in the page.

the bug is:

when page have a vertial scroll bar, and when I'm scrolled down I try following ofs=$('#some_element').offset(),

the screen flick in FireFox 2.0.20 but in IE6 everithing is ok.

i try to debug JavaScript (jQuery and jQuery-letest) and this bug causes on line

4242: body.style.marginTop = bodyMarginTop;

when i comment this line the bug is no longer appear.

I uploaded test page at http://tnt-soft.net/bug/

when you try:

1: scroll down

2: then click 'edit' icon

3: look screen will flick

Attachments (2)
  • bug-1.gif (42.9 KB) - added by TNT March 27, 2009 07:42PM UTC.

    screen shot 1

  • bug-2.gif (42.2 KB) - added by TNT March 27, 2009 07:42PM UTC.

    screen shot 2

Change History (4)

Changed March 27, 2009 10:06PM UTC by brandon comment:1

status: newassigned

Changed March 30, 2009 08:00AM UTC by brandon comment:2

resolution: → fixed
status: assignedclosed

Fixed in r6302

Thanks for the test case! :)

Changed March 30, 2009 12:06PM UTC by pbcomm comment:3

Can we not use property names like 'subtractsBorderForOverflowNotVisible' which do not minify? thus making the library unnecessary bigger.

Changed April 07, 2009 05:15PM UTC by TNT comment:4

can anyone rebuild jquery-nightly.js from SVN please.

i need revision 6302, but on download page i can donwload only Revision: 6300 / Date: 2009-03-22.