postcss-font-variant icon indicating copy to clipboard operation
postcss-font-variant copied to clipboard

Specifying both `font-variant: normal` and `font-feature-settings` produces an invalid CSS rule

Open steveharrison opened this issue 2 years ago • 0 comments

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.

steveharrison avatar Nov 21 '22 08:11 steveharrison