Re: [csswg-drafts] [css-fonts] Reduce layout shift via @font-face descriptor(s) overriding inline spacing (#5533)

> No, this is permanent; if it was temporary, it would cause the very layout shift we're trying to avoid. Your primary font presumably won't have a multiplier, and will display normally; you generally will only apply this to your fallback to make it match the primary more closely, so that when the fallback is swapped out there's as little layout shift as possible.

This is one of the reasons why it's a good idea to use a new font face that is used just in the fallback path, and that wraps the
local font.

Regarding timeouts: perhaps as a future feature we could consider adding a timeout parameter to these descriptors or the font face selection algorithm.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5533#issuecomment-774198707 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 5 February 2021 18:12:17 UTC