Closed
Bug 1634736
Opened 4 years ago
Closed 4 years ago
Anchor bookmarks don't account for static elements on scroll
Categories
(Core :: Layout: Scrolling and Overflow, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 162369
People
(Reporter: asoroudi, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36
Steps to reproduce:
- Navigate to a page that has a static toolbar at the top of the page
- Click on a link that includes a named element (e.g. example.com/blah#foobar)
Actual results:
The page jumps down to the specified part of the page, but Firefox sets it so that the named element is at the top of the window, thus hiding part of it under the static toolbar at the top of the page.
Expected results:
The page should jump so that the specified element is visible below the fixed elements.
I've written an HTML sample that demonstrates the problem: https://pastebin.com/Dy6Espwq
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Component: Untriaged → Bookmarks & History
Updated•4 years ago
|
Component: Bookmarks & History → Layout: Scrolling and Overflow
Product: Firefox → Core
Updated•4 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•