[csswg-drafts] [css-fonts-4] [varfont] Feature queries?

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

== [css-fonts-4] [varfont] Feature queries? ==
Should we have a feature query for variable fonts?

(reference https://hacks.mozilla.org/2016/08/using-feature-queries-in-css/)

```css
@supports (font-variation-settings: "opsz" 14) {
   // code that will only run if variable fonts are supported by the browser 
 }
```

```css
@supports (font-variation-settings: "XOPQ" 14) {
   // what happens here? :) 
 }
```

This idea came from a chat with @jensimmons at the www.snd.org conference :)

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

Received on Friday, 21 April 2017 19:08:08 UTC