Reloading an URL with an anchor and some javascript (to make something not to display) causes the browser to load in wrong height

RESOLVED WORKSFORME

Status

()

Firefox
General
RESOLVED WORKSFORME
10 years ago
10 years ago

People

(Reporter: Gonzalo Ovejero, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

If there is a table where some rows have been hidden by using javascript (display="none") and you try to go to an anchor it will be loaded in a wrong height.
Try to access the example URL ( http://www.clientes.almostdesign.com/dmstk/anchors-test.html#dos ) and reload the page (with the refresh button).

Reproducible: Always

Steps to Reproduce:
1. Go to the example URL (http://www.clientes.almostdesign.com/dmstk/anchors-test.html#dos)
2. Refresh the page with the refresh button.
3. Try to repeat the step 2 many times.
Actual Results:  
The browser is reloaded in wrong height.

Expected Results:  
The browser should reload in the correct height (the one given by the anchor).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008022508 Minefield/3.0b4pre

I see this indeed when I test the page with Firefox 2.x, but not anymore with the latest nightly build, so this means that it is fixed on trunk and that Firefox 3 won't have this bug anymore.
Resolving worksforme.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.