Re: [csswg-drafts] [css-fonts] font property descriptors for variable fonts

This suggestion:

>  adding an auto value which (for non-variable fonts) is the same as the initial value, and (for variable fonts) is the same as the range supported by the relevant axis for that font. So:

    @font-face {
        font-family: MyVariableFont;
        src: url(fonts/MyVar.ttf);
        font-weight: auto;
    }

seems problematic to me, because if `auto` means "the range supported by the 'wght' axis in the font", then the browser has to download and parse the resource *before* it can run the font matching algorithm and thus determine whether this face is needed at all.

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

Received on Thursday, 29 March 2018 20:27:07 UTC