This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The font: shorthand allows setting only the CSS21 font-variant properties and small-caps. However, overriding alternative values may be specified in font-variant-caps:, such as all-small-caps, petite-caps, etc. What should be the serialized read return value when the CSSOM property style.font is accessed and values other than "small-caps" and "normal" are specified in the sub-property? Should the value be left out, or should normal be returned for the font-variant-css21 component of the font property?
Per <https://drafts.csswg.org/cssom/#serialize-a-css-value>, if you can't represent the value of all the longhands that map to a shorthand, you serialize as the empty string.