Uh oh!
There was an error while loading. Please reload this page.
rustdoc: Fix item info display overflow - #95684
Conversation
rust-highfive
commented
Apr 5, 2022
Some changes occurred in HTML/CSS/JS. |
027f12c to
41b0247CompareUh oh!
There was an error while loading. Please reload this page.
notriddle
commented
Apr 5, 2022
@bors r+ |
bors
commented
Apr 5, 2022
📌 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
jsha
commented
Apr 6, 2022
I think this is not the right fix. I originally changed this from a If the |
notriddle
commented
Apr 6, 2022
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. |
GuillaumeGomez
commented
Apr 6, 2022
I went with that originally but ended up with switching to |
jsha
commented
Apr 6, 2022
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. :-) |
GuillaumeGomez
commented
Apr 6, 2022
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
Iteratordocs (reproduced in this screenshot):The problem comes from the fact that
spanisn'tdisplay: blockby default. Sinceitem-infowas already present on<div>in other places, I moved the last one todivas well.r? @notriddle