Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix declaration-block-no-redundant-longhand-properties autofix for font-variant #7620

Open
Mouvedia opened this issue Apr 17, 2024 · 0 comments
Labels
status: ready to implement is ready to be worked on by someone type: bug a problem with a feature or rule

Comments

@Mouvedia
Copy link
Contributor

Mouvedia commented Apr 17, 2024

What minimal example or steps are needed to reproduce the bug?

a {
  font-variant-ligatures: foo;
  font-variant-position: foo;
  font-variant-caps: foo;
  font-variant-numeric: foo;
  font-variant-alternates: foo;
  font-variant-east-asian: foo;
  font-variant-emoji: foo;
}

What minimal configuration is needed to reproduce the bug?

{
  "rules": {
    "declaration-block-no-redundant-longhand-properties": true
  },
  "fix": true
}

How did you run Stylelint?

https://stylelint.io/demo

What did you expect to happen?

a {
  font-variant: foo foo foo foo foo foo foo;
}

ref: https://www.w3.org/TR/css-fonts-4/#font-variant-prop

Do you have a proposal to fix the bug?

update properties.mjs

@Mouvedia Mouvedia added the status: needs discussion triage needs further discussion label Apr 17, 2024
@ybiquitous ybiquitous added status: wip is being worked on by someone type: bug a problem with a feature or rule and removed status: needs discussion triage needs further discussion labels Apr 18, 2024
@Mouvedia Mouvedia added status: ready to implement is ready to be worked on by someone and removed status: wip is being worked on by someone labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready to implement is ready to be worked on by someone type: bug a problem with a feature or rule
Development

No branches or pull requests

2 participants