Skip to content

Rustdoc code view is broken #56720

New issue

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

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

Already on GitHub? # to your account

Closed
RalfJung opened this issue Dec 11, 2018 · 4 comments
Closed

Rustdoc code view is broken #56720

RalfJung opened this issue Dec 11, 2018 · 4 comments
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@RalfJung
Copy link
Member

The source code view rendered by rustdoc, e.g. at https://doc.rust-lang.org/beta/src/std/error.rs.html, is broken:

If I scroll down a lot, the code shows up.

This happens with both Firefox Beta and Chromium, on Linux.

@estebank estebank added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Dec 11, 2018
@bjorn3
Copy link
Member

bjorn3 commented Dec 13, 2018

Same for me with firefox dev-edition, Linux.

@QuietMisdreavus
Copy link
Member

It's a CSS issue that's fixed on nightly, which means we need to backport #56498 and/or related CSS PRs that happened around that time. cc @GuillaumeGomez

@GuillaumeGomez
Copy link
Member

Just backporting the linked PR should be enough.

@QuietMisdreavus: I'll let you handle this part I guess. ;)

@QuietMisdreavus
Copy link
Member

Since #56819 merged, and the linked page is no longer showing the issue, i'm closing this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants