data icon indicating copy to clipboard operation
data copied to clipboard

Update properties and types syntax.

Open pamelalozano16 opened this issue 1 year ago • 1 comments
trafficstars

Description

Currently all these cases return a mismatch: aspect-ratio: auto 3/4; animation-timeline: scroll(self);, forced-color-adjust: preserve-parent-color;. color: LinkText;

They are all valid CSS properties/values according to https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio#syntax, https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timeline#formal_syntax, https://developer.mozilla.org/en-US/docs/Web/CSS/system-color#syntax, and https://developer.mozilla.org/en-US/docs/Web/CSS/forced-color-adjust.

Motivation

Stylelint's rule declaration-property-value-no-unknown raises false positives. Demo E.g.

.a {
  aspect-ratio: auto 3/4;
  aspect-ratio: 9/6 auto;
  animation-timeline: scroll(self);
  forced-color-adjust: preserve-parent-color;
  color: LinkText;
}

pamelalozano16 avatar Oct 08 '24 21:10 pamelalozano16

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

github-actions[bot] avatar Oct 08 '24 21:10 github-actions[bot]

Thank you! FYI, aspect-ratio has been fixed here:

  • [x] https://github.com/mdn/data/pull/776

bsmth avatar Oct 29 '24 11:10 bsmth

@bsmth Will this fix be released on v2.12.2?

pamelalozano16 avatar Nov 04 '24 21:11 pamelalozano16

@bsmth Will this fix be released on v2.12.2?

Yes, I will merge these now and they will land in 2.12.2

bsmth avatar Nov 05 '24 09:11 bsmth

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.

github-actions[bot] avatar Nov 05 '24 09:11 github-actions[bot]