W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

Re: [csswg-drafts] [css-conditional-3] [css-fonts-4] Allow CSS.supports('font-family: system-ui') for feature detection

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Oct 2016 14:20:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-252930612-1476195606-sysbot+gh@w3.org>
Spec-wise, `CSS.supports` defines:
> value would be successfully parsed as a supported value for that 
property

and `system-ui` is a valid 
[font_family_name](https://drafts.csswg.org/css-fonts-3/#fontfamilyname),
 so it should return true.

A function syntax as suggested by @upsuper might work, but probably 
the first thing to discuss is what are the cases where cascading 
[font_family_name_list](https://drafts.csswg.org/css-fonts-3/#fontfamilynamelist)
 cannot solve but `CSS.supports` can. Do you have any examples in 
mind?

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/590#issuecomment-252930612 
using your GitHub account
Received on Tuesday, 11 October 2016 14:20:18 UTC

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