-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Labels
Description
Currently, font-feature-settings cancel each other out, making it impossible to apply them with abstract logic.
For example, say I want to achieve the following:
- Every
divuses stylistic set 1. - Every
puses stylistic set 2. - Every
pinside adivuses both stylistic sets 1 and 2.
Currently, this requires some repetition:
div { font-feature-settings: "ss01";}
p { font-feature-settings: "ss02";}
div p { font-feature-settings: "ss01", "ss02";}
Ideally – keeping in the cascading spirit of CSS – font-feature-settings could be inherited and combined, avoiding redundancy while allowing more logical abstraction. Like so:
div { font-feature-settings: "ss01";}
p { font-feature-settings: "ss02";}