postcss-font-variant
postcss-font-variant copied to clipboard
Specifying both `font-variant: normal` and `font-feature-settings` produces an invalid CSS rule
The following CSS:
font-variant:normal;
font-feature-settings: "smcp" on;
produces:
font-feature-settings:"smcp" on,normal;font-variant:normal
The resulting CSS rule is invalid according to Chrome DevTools: font-feature-settings:"smcp" on,normal
.
Additionally:
font-variant: none;
font-feature-settings: normal;
produces:
font-variant: none;
font-feature-settings: normal, "kern" off;
Where font-feature-settings: normal, "kern" off;
is also an invalid CSS rule according to Chrome DevTools.