Skip to content

Invalid output produced #17

Description

@unconfident

Having font-variant set to initial before font-feature-settings property somehow corrupts produced output for font-feature-settings.

Input:

.this-will-be-broken {
   font-variant: initial;
   font-feature-settings: normal;
}

.this-will-not {
  font-variant: normal;
  font-feature-settings: normal;
}

Expected output

Should match the input one to one

Produced output:

.this-will-be-broken {
   font-variant: initial;
   font-feature-settings: normal, ;
}

.this-will-not {
  font-variant: normal;
  font-feature-settings: normal;
}

Observing this on version 4.0.1 but saw the same happen nearly a year ago, before 4.0.1 was released, so I guess at least 4.0.0 is affected as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions