Skip to content

Need to have alias field for CSS features #1427

Closed
@OnkarRuikar

Description

@OnkarRuikar

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": [

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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