Skip to content

golang.org: api docs, anchor history broken in Firefox #8392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gopherbot opened this issue Jul 20, 2014 · 2 comments
Closed

golang.org: api docs, anchor history broken in Firefox #8392

gopherbot opened this issue Jul 20, 2014 · 2 comments
Milestone

Comments

@gopherbot
Copy link
Contributor

by [email protected]:

Anchor link history for Golang API web pages is broken when browsing with Firefox.

For example:

1. browse to http://golang.org/pkg/net/
2. click on any of the items in the index. You will be auto-scrolled down to the item
heading
4. Click back button...nothing happens

Back button should take you back to the index. 

By trial and error, I've discovered that removing the stylesheet from the following line
fixes the issue:

<div id="mainframe" style="position: fixed; bottom: 0; top:0;
overflow: auto; width: 100%;">

I'm not sure why this stylesheet is a problem for Firefox. Posting here so that others
can provide some insight.

Tested using Firefox 30.0 on Fedora 20 x86_64. Also confirmed this issue with others on
#go-nuts irc channel.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-go1.4.

@adg
Copy link
Contributor

adg commented Jul 21, 2014

Comment 2:

Status changed to Duplicate.

Merged into issue #8300.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants