- From: aaaxx via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Sep 2016 21:33:04 +0000
- To: public-css-archive@w3.org
Wouldn't this issue be better solved on a higher level, introducing a
syntax for specifying font parameters like discussed in #126 and
specifically in [this
post](https://github.com/w3c/csswg-drafts/issues/126#issuecomment-221620009),
which [Tab Atkins thought was a good
idea](https://github.com/w3c/csswg-drafts/issues/126#issuecomment-221673217)?
For example:
```css
@font-face { /* load fonts */ }
@font-stack --name {
Alegreya,
Georgia { font-size: 0.975em; },
serif
}
p {
font-family: Alegreya, Georgia, serif; /* fallback for old
browsers */
font-family: var(--name); /* call to the new @font-stack rule */
}
```
--
GitHub Notification of comment by aaaxx
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/450#issuecomment-245426441
using your GitHub account
Received on Wednesday, 7 September 2016 21:33:12 UTC