Bug 13489 - "Back" doesn't function between anchor navigation in multiple frames page
Summary: "Back" doesn't function between anchor navigation in multiple frames page
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.4
: P2 Major
Assignee: Nobody
URL: http://developer.apple.com/documentat...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 12:34 PDT by Bruno Roudot
Modified: 2007-08-29 05:20 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Roudot 2007-04-25 12:34:34 PDT
When clicking on an anchor link in one frame in a html page containing multiple frames, Back function appears to not work properly.

Example to reproduce this behavior :
Apple Developer site :
1. go to "Foundation Framework Reference index" page (http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/index.html).
2. choose a class (here, NSArray) by clicking on NSArray link.
3. web page appears (with TOC frame on left side, and class description on right).
4. on class description side, scroll the page to "Tasks, Creating an array", then click on "+ array" link (this is an anchor link).
5. web page scrolls to "array" method description.
6. then, try to go back (ie,  "Tasks, Creating an array" section -see point 4- ) by pressing backspace key, or by choosing Back in History menu, or by right-clicking on web page and choosing Back in contextual menu.

-> nothing happens !
But if you try go back a second time, your return on previous web page (here, "Foundation Framework Reference index", see point 1).
It seems the first "go back" action is "accepted" ("go back" is made in history buffer) but not seen on screen.

An another test on same web pages, but without visible TOC section works fine.
(to try, after point 3, click on "Hide TOC" link, then continue the next points of the example : after point 6, weg page returns to previous location in point 4).

Differences between the 2 tries is frames on the firts, plain html on the second.

These tries are made on webkit version in OSX 10.4.9 (build 8P135), but this behavior is remaining on lastest nightly build at this time (r21081).
Comment 1 Alexey Proskuryakov 2007-08-29 05:20:16 PDT
Confirmed with r25261. The behavior has changed a little, in that pressing Back once brings you to the previous page immediately.