This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Although widely accepted as required values to the shorthand Font property, the Font-Size and Font-Family values are currently listed as being optional (encapsulated in square brackets), with no mention about them being required. Why? Extract from Font CR: [ [ <‘font-style’> || <font-variant-css21> || <‘font-weight’> || <‘font-stretch’> ]? <‘font-size’> [ / <‘line-height’> ]? <‘font-family’> ] | caption | icon | menu | message-box | small-caption | status-bar
You're not reading the syntax correctly. The font-size plus font-family values are both required *unless* a system font is used. Reformat the expression as below to see this: [ [ <‘font-style’> || <font-variant-css21> || <‘font-weight’> || <‘font-stretch’ ]? <‘font-size’> [ / <‘line-height’> ]? <‘font-family’> ] | caption | icon | menu | message-box | small-caption | status-bar
Thanks for your reply, John. I now understand that square brackets have a different meaning to what I am used to.