data
data copied to clipboard
Update properties and types syntax.
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;
}
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.
Thank you! FYI, aspect-ratio has been fixed here:
- [x] https://github.com/mdn/data/pull/776
@bsmth Will this fix be released on v2.12.2?
@bsmth Will this fix be released on v2.12.2?
Yes, I will merge these now and they will land in 2.12.2
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.