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

Unblock font loading in rustdoc.css #72092

Merged
merged 1 commit into from
May 24, 2020
Merged

Commits on May 10, 2020

  1. Unblock font loading in rustdoc.css

    rustdoc's font loading defaults to "auto", so browsers may block render.
    But rustdoc's case prefers a faster TTI for scrolling, this means the
    strictest font-display in use should be "swap". rustdoc's fonts do provide
    notable legibility improvements but first-time users will have little trouble
    reading without. This means "optional" is preferred.
    
    The one exception is Source Serif Pro: it's a big difference for body text, so
    "fallback" is preferred over "optional" to cause a (tiny) block.
    workingjubilee committed May 10, 2020
    Configuration menu
    Copy the full SHA
    510fce1 View commit details
    Browse the repository at this point in the history