Open Bug 975582 Opened 11 years ago Updated 2 years ago

order of jQuery.fadeIn & sibling removal resets scrollLeft

Categories

(Core :: XUL, defect)

27 Branch
x86
macOS
defect

Tracking

()

Tracking Status
platform-rel --- +

People

(Reporter: jedierikb, Unassigned)

Details

(Whiteboard: [platform-rel-jQuery])

Attachments

(3 files)

Attached file blergh.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36

Steps to reproduce:

Set the plsWork variable set to false and load page.  Then change the variable to true and load page.  Then change the variable back to false and load page.


Actual results:

When plsWork is initially set to false, scrollLeft is not honored.
When plsWork is then set to true, scrollLeft is honored (yea!).
When plsWork is then set back to false, scrollLeft is still honored (yea!  huh?!)


Expected results:

Regardless of what plsWork has been set to on initial or subsequent loads, scrollLeft should behave as expected.
I am not getting your 1st actual result "When plsWork is initially set to false, scrollLeft is not honored." Do you mean scrollLeft at position zero? or something else.
Flags: needinfo?(jedierikb)
Please refer to the two attached screenshots.  scrollLeft should be at position 3000, not at position 0, regardless of the order of the two commands switched by the 'plsWork' variable.  Please let me know if this explanation is sufficient.
Flags: needinfo?(jedierikb)
User Agent 	Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID 	20160110030214

Tested on Mac OS version 10.9.5 with the Nightly 46.0a1 build.
The issue reproduces.
Status: UNCONFIRMED → NEW
Component: Untriaged → XUL
Ever confirmed: true
Product: Firefox → Core
Whiteboard: [platform-rel-jQuery]
platform-rel: --- → ?
platform-rel: ? → +
Rank: 90
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: