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

Need to have alias field for CSS features #1427

Open
OnkarRuikar opened this issue Jan 2, 2025 · 0 comments
Open

Need to have alias field for CSS features #1427

OnkarRuikar opened this issue Jan 2, 2025 · 0 comments

Comments

@OnkarRuikar
Copy link

For example, the font-stretch property was renamed to font-width. No browser has updated this change. So we have to keep font-stretch page in the docs. Is there any way to reach font-width syntax using font-stretch as input?

Can we add alias property to the CSS features? For example, in this case, add "aliases: ['font-stretch']", to the font-width definition:

"name": "font-width",
"href": "https://www.w3.org/TR/css-fonts-4/#propdef-font-width",
"value": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
"initial": "normal",
"appliesTo": "all elements and text",
"inherited": "yes",
"percentages": "Not resolved",
"computedValue": "a percentage, see below",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"values": [

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant