You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The font property is, except as described below, a shorthand property for setting font-style, font-variant, font-weight, font-stretch, font-size, line-height, font-family at the same place in the stylesheet.
For font-stretch and font-variant exceptions are specified which restrict them to a restricted keyword syntax.
For font-style, no such exception is defined yet.
I believe however, that allowing oblique <angle> into the font shorthand syntax causes parsing tokenization ambiguities and would not work reliably.
I would suggest to change the syntax rule for font-style to use something like
<font-style-css3> = [normal | italic | oblique]
The text was updated successfully, but these errors were encountered:
The font shorthand property says:
For font-stretch and font-variant exceptions are specified which restrict them to a restricted keyword syntax.
For font-style, no such exception is defined yet.
I believe however, that allowing
oblique <angle>
into the font shorthand syntax causes parsing tokenization ambiguities and would not work reliably.I would suggest to change the syntax rule for font-style to use something like
<font-style-css3> = [normal | italic | oblique]
The text was updated successfully, but these errors were encountered: