Re: [csswg-drafts] [css-fonts] Specifying changes to parameters for fallback fonts

It sounds like using something like @fallback-font-sequence would 
associate a small set of CSS properties with each item in the font 
family list, where it is obvious how to apply each property in that 
small set to individual glyphs rather than full elements.

In the related issue 
https://github.com/w3c/csswg-drafts/issues/450#issuecomment-245485065 
we are investigating using this mechanism to better match fallback 
fonts to web fonts during the download of the web font. A small set of
 properties suggested are:
`font-weight`
`font-size`
`letter-spacing`
`word-spacing`
`line-height`

One thing we should consider is that, if these properties are all 
bundled up together into an at-rule, they don't cascade nicely. This 
means that if a web author wants to use an existing 
@fallback-font-sequence rule in a new context, but slightly modified, 
they would have to create a copy of the whole rule, including all the 
properties inside it.

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

Received on Thursday, 8 September 2016 19:17:04 UTC