W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css3-fonts][cssom] proposal for revised definition of CSSFontFaceRule

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Fri, 14 Sep 2012 00:35:55 +0200
Message-ID: <CAERejNYh+RgbpjGyz07Q3dAPT-6t9+Fob2y0Baqst-PjqmXwhw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: John Daggett <jdaggett@mozilla.com>, www-style list <www-style@w3.org>
>> For the sake of differentiating the @font-face descriptors from the
>> style rule properties are not the same and to avoid unnecessary typing
>> I suggest to remove "font" from the descriptor names.
>> So instead of "font-family", "font-style", "font-weight",
>> "font-stretch", "font-variant" and "font-feature-settings" we'll just
>> have "family", "style", "weight", "stretch", "variant" and
>> "feature-settings" inside @font-face.
>
> That doesn't seem necessary.  I think it's useful and easier to
> remember if they're just the same names (but formatted in camelCase).
>
> (I think it would have been good *originally* to just name the
> descriptors "weight", "variant", etc.,
Hm, so you agree with me but at the same time you say it's easier to
remember when the have the same names (even when the descriptors and
the properties are not the same and they partially even don't share
the same logic).

> but we're long past that point.
Because UAs already implemented the prefixed versions and websites
already make use of them? Then allow them as aliases but mark them as
deprecated.

Sebastian
Received on Thursday, 13 September 2012 22:36:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT