Re: [css3-fonts] "inherit" value of font-feature-settings

Myles Maxfield wrote:

> The CSS3 fonts spec defines the font-feature-settings property to be
> inherited. Because of this, it's easy for an inner element which wants
> to use some font feature to clobber some other font feature specified
> on an ancestor, which is probably not what authors want or intend. It
> would be better if font-feature-settings performed a union between the
> elements specified style and its inherited style. Removing the use of
> font features can be accomplished with the "normal" keyword. Please
> note that there is precedence for this behavior; please see the
> text-decoration property.

Hmmm, maybe I'm not understanding you correctly but I don't think
there's a way to "union" property values in the CSS cascade. Better for
authors to use the 'font-variant' subproperties which allow different
types of features to inherit differently.


Received on Wednesday, 12 August 2015 04:38:31 UTC