Open
Bug 540847
Opened 15 years ago
Updated 2 years ago
Named anchor positions incorrectly if the anchor is moved by javascript on dom ready.
Categories
(Core :: Layout, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: say_ten, Unassigned)
References
(Depends on 1 open bug, )
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
The page uses javascript powered tabs that are initialised when the DOM becomes ready (jquery(document).ready()). This means that the targeted tab, using a named anchor, is activated but the scroll position is incorrect, possibly attempting to anchor to the position prior to the javascript firing. Pressing return in the location bar correctly positions the scroll.
Reproducible: Always
Steps to Reproduce:
1. Load the URL.
2. Click in the location bar and press return.
Actual Results:
On initial load the browser is anchored below the location of the element id.
Expected Results:
The browser should scroll to where the anchor is now.
Depends on: 43114
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•