W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

Re: [csswg-drafts] [css-fonts-4] font-display: optional without relayout (#4108)

From: Xiaocheng Hu via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Dec 2019 22:49:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-566282826-1576536562-sysbot+gh@w3.org>
For some context, for `font-display:optional`, when the web font is already cached, Chrome (80.0.3987.7) in some cases may synchronously resolve the network request during style recalc and use it immediately for rendering. This is what I observed after reloading the test case (https://static-misc.glitch.me/optional-font-load/) for a few times.

This sounds like the desired behavior, and I'd love to see it enforced by the spec.

-- 
GitHub Notification of comment by xiaochengh
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4108#issuecomment-566282826 using your GitHub account
Received on Monday, 16 December 2019 22:49:24 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:05 UTC