Open Bug 938013 Opened 11 years ago Updated 2 years ago

A div's scrollleft is not reset on refreshing the page even though the div is created again

Categories

(Core :: DOM: Core & HTML, defect, P5)

25 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: chirag.agrawal19, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36

Steps to reproduce:

Load- http://zynga.com/
Logged into Account- http://zynga.com/

Steps to Reproduce:
1.Click on add zFriends tab on RightRail.
2.Click on right scrolling arrow on friend finder.
3.Click on any gam.
4.Refresh the page by using icon on address bar
5.Observe the small triangle on FriendFinder.

Working Fine for other browsers



Actual results:

Div remains in initial position


Expected results:

Div should scroll to origin position
I tried with IE11, same result, the triangle goes to the last game selected to the first game after refreshing the page.

Any idea?
Flags: needinfo?(chirag.agrawal19)
I don't understand what you are trying to say but I checked with IE10 , Chrome -> On refreshing the page the pointer goes to the first game (expected behaviour) but not with Firefox 25 as the scrollLeft value is not equal to zero .
(In reply to Loic from comment #1)
> I tried with IE11, same result, the triangle goes to the last game selected
> to the first game after refreshing the page.
> 
> Any idea?
Flags: needinfo?(chirag.agrawal19)
Ok, I see: http://i.imgur.com/NSsPLUX.png
Yes, precisely.
This is the issue.
NEW based on comments 2,3
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM
Ever confirmed: true
Product: Firefox → Core
Isn't this just scroll state restoration happening?
Could this be due to some bug in the site code and not firefox.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.