Main body width very narrow in firefox with min font size > default font size #93120
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Steps to reproduce
about:preferences
, enter "font" in the search box, click on "Advanced...". Set "Minimum font size" to "18". Note that the default proportional font size is "16" or for mono, "12".This is a regression (!)
This page https://docs.rs/vecdeque-stableix/1.0.0/vecdeque_stableix/ which was formatted a while ago with an older rustdoc, is fine.
Discussion
ISTM that this behaviour is undesirable and indeed unreasonable, and ought to be addressed in rustdoc. Particularly given that there is no UI in firefox which gives any kind of warning to the user who defines such an anomalous configuration.
I discovered this by visiting docs.rs and seeing misformatted docs. My browser configuration has not changed recently so I must have had this anomalous setting for some time, and by and large I find that most websites do work. I was only able to narrow down the reproducer by comparing different browser profiles and experimenting in
about:config
with font stuff (I had a hunch it might be relevant).Screenshot
The text was updated successfully, but these errors were encountered: