Re: [csswg-drafts] [css-fonts-4] Open ranges aren't allowed

`font-weight` accepts a number, and the `font` shorthand accepts a `<length>` for `font-size`, which can also be `0` (because of unitless 0 lengths) so the grammar would be ambiguous if `font-weight` could accept 0.

`font-width` accepts is a percentage, but `font-size` also accepts a percentage, so the `font` shorthand only accepts the [keyword values to `font-width`](https://drafts.csswg.org/css-fonts-4/#font-stretch-css3-values).

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1157#issuecomment-319788738 using your GitHub account

Received on Wednesday, 2 August 2017 20:29:01 UTC