W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

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

From: Dave Crossland via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 Apr 2017 19:08:02 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-223470441-1492801680-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC