W3C home > Mailing lists > Public > www-style@w3.org > August 2015

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

From: Myles C. Maxfield <mmaxfield@apple.com>
Date: Tue, 11 Aug 2015 19:08:46 -0700
Message-id: <FD39BB24-C17F-4896-8E22-0F69BF81836C@apple.com>
To: www-style list <www-style@w3.org>

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.

What are your thoughts?

Received on Wednesday, 12 August 2015 02:09:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 August 2015 02:09:15 UTC