about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-24 00:00:45 +0200
committerGitHub <noreply@github.com>2020-05-24 00:00:45 +0200
commit238a0ce716d75c854a5fe3f4cc73a47918020963 (patch)
tree530aaaedf3aca1abd3f9fd2744215a837708e6a8 /library/std/src/sys/unix/stack_overflow.rs
parentff48fc91eea7d7c3d224de054d6a9b47af4a6d18 (diff)
parent510fce10f8a22521ec861f4446a304f9a2e4c5bd (diff)
downloadrust-238a0ce716d75c854a5fe3f4cc73a47918020963.tar.gz
rust-238a0ce716d75c854a5fe3f4cc73a47918020963.zip
Rollup merge of #72092 - workingjubilee:patch-2, r=GuillaumeGomez
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.

This follows up on (but does not resolve) #20962, taking PageSpeed Insight's rec fairly directly. Supporting reading material: https://drafts.csswg.org/css-fonts-4/#font-display-desc
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions