Skip to content

Need to have alias field for CSS features #1427

Open
@OnkarRuikar

Description

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

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