Open
Description
Steps to reproduce (Chrome / Linux):
- Visit https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/index.html
- Click source link (https://doc.rust-lang.org/nightly/nightly-rustc/src/rustdoc/clean/mod.rs.html#1-2243)
- Scroll down in page until you see a link that goes elsewhere within the same file (e.g.
doc
on line 104) - Click the link.
- Navigate back in the browser.
Expected result:
The browser now shows the scroll position from before clicking the link.
Actual result:
The scroll position is the top of the page.
This seems to only happen when the first navigation included a fragment (e.g. #1-2243
in this example)
/cc @GuillaumeGomez