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

[csswg-drafts] [css-fonts] All CSS-wide keywords should be excluded from <family-name> type

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Jan 2017 01:32:52 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-201154330-1484616770-sysbot+gh@w3.org>
upsuper has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-fonts] All CSS-wide keywords should be excluded from 
<family-name> type ==
The spec currently says:
> Font family names that happen to be the same as a keyword value 
(`inherit`, `serif`, `sans-serif`, `monospace`, `fantasy`, and 
`cursive`) must be quoted to prevent confusion with the keywords with 
the same names. The keywords `initial` and `default` are reserved for 
future use and must also be quoted when used as font names. UAs must 
not consider these keywords as matching the `<family-name>` type.

It excludes `inherit` and `initial`, but does not excludes other 
CSS-wide keywords, e.g. `unset`. It should probably say that any 
CSS-wide keywords should not be matched as `<family-name>` type.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/946 using your GitHub 
account
Received on Tuesday, 17 January 2017 01:32:58 UTC

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