281 bytes, text/html
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168) Gecko/20100914 Firefox/3.6.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:22.214.171.124) Gecko/20100914 Firefox/3.6.10 When anchors are inside scrollable divs, specifying the #anchor name will correctly cause the div to scroll to the appropriate anchor. However, if you press the back button, the url in the location bar will update, but the scrollable div will not be scrolled. Reproducible: Always Steps to Reproduce: 1. Browse to the attached file. 2. Click the 'fred' link, notice that the div scrolls to show 'fred'. 3. Click the 'jim' link, notice that the div scrolls to show 'jim'. 4. Press the back button on the browser. Actual Results: The url updates to show #fred, but the div is still scrolled to show 'jim'. Expected Results: The div should have scrolled to show 'fred'.
I'd like to add that if you enter the appropriate # manually, and hit enter, the div will scroll, so you can click back, then click in the location bar and hit enter.
Component: Bookmarks & History → Document Navigation
Product: Firefox → Core
QA Contact: bookmarks → docshell
This is a known issue.... Restoring from history restores the viewport scroll positions but not any others, and we don't do anchor scrolls on restoring from history to avoid stomping on non-default scroll positions (the common case)....
Scroll feature does not work in scrollable areas on all pages on all sites . . . new development. This feature worked previously
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 565008
You need to log in before you can comment on or make changes to this bug.