Re: [csswg-drafts] [css-fonts] More intuitive version of preload + font-display optional (#5924)

The problem with trying to tie this to any `font-display` value is that it delays the point when we can paint even further, to when the stylesheet is encountered and loaded. Preloading, by definition, is about as early as possible for indicating that a load should be started.

If we don't adjust the preload period to account for the stylesheet's own load delay, then trying to rely on this trick becomes *very* fraught - it's likely to work on local testing and fail in the wild.  If we *do* adjust the preload period, then we're more likely to either significantly delay rendering, or cause a flash of restyled text if we've already started rendering.

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


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

Received on Wednesday, 3 February 2021 21:15:42 UTC