-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc: Fix item info display overflow #95684
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
Conversation
Some changes occurred in HTML/CSS/JS. |
027f12c
to
41b0247
Compare
@bors r+ |
📌 Commit 41b0247 has been approved by |
Rollup of 4 pull requests Successful merges: - rust-lang#95659 (Rely on #[link] attribute for unwind on Fuchsia.) - rust-lang#95684 (rustdoc: Fix item info display overflow) - rust-lang#95693 (interp: pass TyCtxt to Machine methods that do not take InterpCx) - rust-lang#95699 (fix: Vec leak when capacity is 0) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
I think this is not the right fix. I originally changed this from a If the |
I'd be fine with that, but if we're going to pursue valid HTML, then we really should also add automated tests to ensure we don't accidentally regress. |
I went with that originally but ended up with switching to |
Totally agreed; I took a shortcut on the previous PR because it seemed like it was going to be hard to get htmltidy (https://github.com/htacg/tidy-html5) integrated into the CI runners. But I should do the work and get it done. :-) |
I opened #95738 to switch all |
…span, r=jsha Switch item-info from div to span Following discussion in rust-lang#95684. cc `@jsha` r? `@notriddle`
I came across this issue when reading local
Iterator
docs (reproduced in this screenshot):The problem comes from the fact that
span
isn'tdisplay: block
by default. Sinceitem-info
was already present on<div>
in other places, I moved the last one todiv
as well.r? @notriddle