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

[css3-fonts] Value issues

From: Jens O. Meiert <jens@meiert.com>
Date: Fri, 18 Mar 2011 14:05:00 -0700
Message-ID: <AANLkTikF=o7Bz1F7zt1us=iVs4cTCv3urL6GW8Ee4V-m@mail.gmail.com>
To: www-style@w3.org
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.


[1] http://dev.w3.org/csswg/css3-fonts/
[2] http://en.wikipedia.org/wiki/Don't_repeat_yourself

-- 
Jens O. Meiert
http://meiert.com/en/
Received on Friday, 18 March 2011 21:05:53 GMT

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