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

[csswg-drafts] [css-font-4][varfont] hyphens or spaces

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Dec 2016 09:03:00 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-192788557-1480582979-sysbot+gh@w3.org>
frivoal has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-font-4][varfont] hyphens or spaces ==
We have the following syntax for the descriptors:

`font-style: normal | italic | oblique [ <angle> | <angle>-<angle> ] 
?`

`font-weight: normal | bold | [ <number> | <number>-<number> ]`

`font-stretch: normal | ultra-condensed | extra-condensed | condensed 
| semi-condensed | semi-expanded | expanded | extra-expanded | 
ultra-expanded | [ <percentage> | <percentage>-<percentage> ] `

I am not convinced we need the hyphens. How about making the syntax 
lighter, and using spaces instead?

`font-style: ... [ <angle> | <angle> <angle> ] ?`

`font-weight: ... [ <number> | <number> <number> ]`

`font-stretch: ... [ <percentage> | <percentage> <percentage> ] `

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/783 using your GitHub 
account
Received on Thursday, 1 December 2016 09:03:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:26 UTC