Skip to content
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

x/blog: incorrect blog rendering on Linux Firefox #6425

Closed
mewmew opened this issue Sep 19, 2013 · 6 comments
Closed

x/blog: incorrect blog rendering on Linux Firefox #6425

mewmew opened this issue Sep 19, 2013 · 6 comments

Comments

@mewmew
Copy link
Contributor

mewmew commented Sep 19, 2013

What steps will reproduce the problem?
1. Run godoc locally.
2. Use Firefox on Linux and browse to the blog.
3. Some letters are cut.

What is the expected output?
All text should be visible.

What do you see instead?
Some text is cut.

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
Linux

Which version are you using?  (run 'go version')
go version devel +f4d1cb8d9a91 Thu Sep 19 22:34:33 2013 +1000 linux/amd64
go.tools rev: changeset:   344:0467cd19dcd4

Please provide any additional information below.
I've attached a screenshot. Notice that the "F" in "From" is cut.

Attachments:

  1. firefox-godoc.png (66666 bytes)
@adg
Copy link
Contributor

adg commented Sep 19, 2013

Comment 1:

This looks like a bug in the Firefox rendering engine. The code box is constructed with
HTML/CSS like this:
  <div style="background: gray; padding: 10px">
    <pre style="padding: 0; margin: 0; overflow: auto">
      text
    </pre>
  </div>
The problem is with the pre with a zero padding and zero margin with overflow. I can see
it on a Linux machine I have access to (albeit with a less pronounced effect that in
your screenshot) but am unable to reproduce it on OS X.

Attachments:

  1. Screen Shot 2013-09-20 at 9.42.19 AM.png (308646 bytes)

@rsc
Copy link
Contributor

rsc commented Oct 18, 2013

Comment 2:

Labels changed: added priority-later, removed priority-triage.

Owner changed to @adg.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 3:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 4:

Labels changed: added release-none, removed go1.3maybe.

@adg
Copy link
Contributor

adg commented Dec 4, 2013

Comment 5:

Labels changed: added repo-playground.

@adg
Copy link
Contributor

adg commented Dec 4, 2013

Comment 6:

Labels changed: added repo-tools, removed repo-playground.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc changed the title website: incorrect blog rendering on Linux Firefox x/blog: incorrect blog rendering on Linux Firefox Apr 14, 2015
@rsc rsc modified the milestones: Unreleased, Unplanned Apr 14, 2015
@rsc rsc removed the repo-tools label Apr 14, 2015
@adg adg closed this as completed May 27, 2016
@golang golang locked and limited conversation to collaborators May 27, 2017
@rsc rsc unassigned adg Jun 22, 2022
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