Re: [csswg-drafts] [css-fonts-4] Clarify the behavior of the 'very small' block period, … (#4370)

Sorry for missing this. 

I filed #4108 because browsers have layout instability when using `font-display: optional`.

"block" in this spec seems to mean "block the rendering of this font". It doesn't seem to mention the rendering of other content that loads afterwards. Right now, when a font is blocked, it's still laid out using the fallback font. Then, the intended font loads, and the page is re-laid out with the metrics of the loaded font. This creates layout instability.

It feels like the solution needs to define a new kind of "block", one that goes beyond the text. It needs to block all further layout until it's had a chance to see if that font is immediately available.

The changes here don't seem to require that kind of layout stability, so I guess I'm requesting changes, yeah.

-- 
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/4370#issuecomment-610466360 using your GitHub account

Received on Tuesday, 7 April 2020 15:49:12 UTC