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

>> 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 UTC