Closed Bug 168837 Opened 22 years ago Closed 20 years ago

Back doesn't restore frame scroll position

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

x86
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: jwz, Assigned: john)

References

()

Details

- go to http://www.plif.com/archive/archive.htm
- click on the "2000" link at the top of the left frame
- scroll all the way to the bottom
- click on the bottom left thumbnail:
  it goes to a gif that is not in a frameset (the sock puppet cartoon)
- click the Back button

- note that the left frame is now scrolled back up to the top, instead of
  being scrolled to the bottom where you left it.

This is in Mozilla 1.1b on Linux.

It works properly in Netscape 4.78 on Linux.
Priority: -- → P3
I can reproduce on Windows 98 with build 2002100604. OS -> All. Nominating for
Mozilla 1.2.
Keywords: mozilla1.2
OS: Linux → All
I see this bug with 2002100911, not only with frames, but also if you follow a
link in any page, then use the back button to go back to the old page, the
scroll bar is positioned at the top of the page again.

Expected results: the scroll bar should be at the position it was just before
clicking the link.
Bulk moving P1-P5 un-milestoned bugs to future. 
Target Milestone: --- → Future
I can confirm this bug with Mozilla 1.2.1 and 1.3a on win2k!
I have the same problem in our dhtml-application and i have testet
it in serveral cases. First you have to know that the problem with the
restore using the browsers back-button depends how you change the
location.href of a frame.
1. If you use a page with no frames the restore works!
2. If you change the location.href of the frame itself: it works!
   (i.e a anchor with target=_self)
3. If you change the location.href of a frame-set it does NOT Work!
   (i.e a anchor with target=_parent or _top)
   ===> i have just testet this case with the new version of netscape 7.0.2
        !!! now the restore works !!!

With Internet Explorer these cases works!
This seems to work now, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040322
Firefox/0.8.0+
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.