Closed
Bug 254528
Opened 20 years ago
Closed 20 years ago
back goes to top of page instead of where link was
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 217120
People
(Reporter: jon787, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040802 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040802 Firefox/0.9.1 If the BODY tag is closed immediately after the close of a SCRIPT tag where the script was loaded from an external file, when you browse back to that page using the back button the browser goes to the top of the page instead of where the link is. Inserting even a single character between </script> and </body> causes this not to happen. http://www.csl.mtu.edu/~jadevree/broken.html - example of a broken page http://www.csl.mtu.edu/~jadevree/working.html - one with a single space between the tags. Disabling javascript completely causes the problem not to occur. This bug was brought to my attention by someone complaining about this happening on ebay.com. Like this page: http://computers.listings.ebay.com/Laptops_W0QQfromZR4QQsacategoryZ51148QQsocmdZListingItemList Reproducible: Always Steps to Reproduce: 1. Go to http://www.csl.mtu.edu/~jadevree/broken.html 2. Scroll down 3. Click the link 4. Hit back Actual Results: Browser returned to broken.html but at the top of the page Expected Results: Browser returns to the location of the link in broken.html (in this case the bottom) See http://www.csl.mtu.edu/~jadevree/working.html for the normal behavior.
Comment 1•20 years ago
|
||
Worksforme with a current trunk SeaMonkey linux build. Is this a problem on firefox trunk, or just on branch?
Comment 2•20 years ago
|
||
WFM with Firefox trunk 20040804 PC/WinXP
I see this problem with rv:1.8a2 Gecko/20040702, maybe the patch from bug 217120 fixed this for the newer builds?
Comment 4•20 years ago
|
||
Very possible, yes.
This was happening to me on Firefox 0.9.3 Linux Debian package 0.9.3 Linux Official package 0.9.3 Windows Official package But not the latest nightly for Linux, so I guess it is fixed.
Comment 6•20 years ago
|
||
*** This bug has been marked as a duplicate of 217120 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•