[csswg-drafts] [css-fonts-5] Allow tweaking font-size at per-fallback granularity (#5976)

litherum has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-5] Allow tweaking font-size at per-fallback granularity ==
This issue is split off from https://github.com/w3c/csswg-drafts/issues/126

There are 2 use cases:
- Being able to tweak the look of fallback fonts while web fonts are loading. The goal is to reduce the effects of the visual reflow when the web font does finally load (aka "flashiness")
- Being able to tweak the look of fallback fonts for characters which are unsupported by the primary font. (I'm sure we've all seen cases where a rogue "é" somewhere on the page is rendered in some horrific and particularly noticeable fallback.)

The goal is to allow pages the ability to say something like "for this fallback font, use font size X, but for this other fallback font, use font size Y."

In https://github.com/w3c/csswg-drafts/issues/126#issuecomment-776063005 we resolved to do this sort of thing via `@font-face` descriptors.

Note that something similar (though less flexible) can be done already with [`font-size-adjust`](https://drafts.csswg.org/css-fonts-4/#font-size-adjust-prop). So this bug isn't very high priority, as that will probably work for many of these situations.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5976 using your GitHub account


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

Received on Wednesday, 10 February 2021 16:26:22 UTC