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

Re: [css3-fonts] Interaction between font-feature-settings and other properties

From: John Daggett <jdaggett@mozilla.com>
Date: Wed, 12 Aug 2015 13:01:23 +0900
Message-ID: <CALYZoVPDz32R6Y4ODA1BOVu-vBw0kkjsjjOt_Mw4+Fu7Z4QXnA@mail.gmail.com>
To: "Myles C. Maxfield" <mmaxfield@apple.com>
Cc: www-style list <www-style@w3.org>
Myles Maxfield wrote:

> The CSS3 fonts spec does not seem to directly address the interaction
> between font-feature-settings and other CSS properties such as
> "font-variant-*" and "text-rendering". Given that these other
> properties can be implemented in terms of font-feature-settings,
> setting these other properties should change the computed style of
> font-feature-settings.

See section 7 of the Fonts spec, entitled "Font Feature Resolution".

http://www.w3.org/TR/css3-fonts/#font-feature-resolution

This section specifies exactly how different property values affect the
final resolved feature settings passed through to the shaping engine.
They do not, and should not, affect the computed value of
'font-feature-settings'.

The 'text-rendering' property was never formally defined to explicitly
enable font features, that was merely a behavior given it by user
agents, specifically Firefox and then Webkit. I don't think this
behavior is needed or desirable.

Regards,

John Daggett


‚Äč
Received on Wednesday, 12 August 2015 04:01:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 August 2015 04:01:51 UTC