Re: [css3-fonts] Value issues

On 18 Mar 2011, at 21:05, Jens O. Meiert wrote:

> In the CSS Fonts Module [1] (yet this may affect more CSS drafts) I
> suggest to “not repeat yourself” [2] in property values.
> 
> For example, “font-variant-ligatures” currently envisions values like
> “common-ligatures” or “additional-ligatures”. Naming them “common” or
> “additional” would be shorter and hence easier to remember while not
> being any harder to understand (“ligatures” is already part of the
> property name).
> 
> The same applies at least to “font-variant-numeric” which might
> benefit from the values “lining”, “old[style]”, “proportonial”, and
> “tabular” instead of “lining-nums” etc.

This doesn't work so well when using the values with the font-variant shorthand:

   font-variant: additional lining;

is not nearly as clear as

   font-variant: additional-ligatures lining-numerals;

JK

Received on Friday, 18 March 2011 22:08:20 UTC