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

@chrishtr points out that the use case aimed at is
> […] the use case of reducing layout shift when a web font loads.

@xiaochengh can you clarify the relationship between this proposal and #126, and [for your proposal](https://github.com/w3c/csswg-drafts/issues/5533#issuecomment-773709932) can you confirm that the `advance-override` you're proposing applies to the actual font specified in `src:` of the @font-face when loaded? I assume, to use this for reducing layout-shift and specifying an advance-override for fallback fonts, you would work with `src: local(...)` to refer to local fallback font names, or how would you establish the connection? I assume the intention is not to have the primary font's advances permanently overridden as the end result after all fonts have loaded, but instead only show the condensed/stretched layout temporarily?


-- 
GitHub Notification of comment by drott
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5533#issuecomment-773939272 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 10:18:02 UTC