[css3-fonts] Mistakes in font value syntax

1. The font-variant part of the 'font' shorthand has been defined as

<font-variant-css21> = [normal | small-caps | inherit]

which means it allows things like

font: inherit large Ahem;

This is inconsistent with other shorthand properties and the other  
component values in 'font', and seems like a mistake.

2. The <‘font-family’> link points to the font descriptor's definition  
(#descdef-font-family), which only accepts a single <family-name>. It  
should point to the property's definition (#font-family-prop) instead.

The same applies to the <‘font-weight’> link (descriptor doesn't accept  
'bolder' or 'lighter') and <‘font-style’> (seems to make no difference).

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Thursday, 21 July 2011 16:01:56 UTC