W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: [css3-fonts] Value issues

From: Jonathan Kew <jonathan@jfkew.plus.com>
Date: Fri, 18 Mar 2011 22:07:36 +0000
Cc: www-style@w3.org
Message-Id: <52C4C956-6410-42D8-AAE0-99C71D2CB425@jfkew.plus.com>
To: "Jens O. Meiert" <jens@meiert.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT