Re: [csswg-drafts] [css-fonts-4] font-stretch is unfortunately named (#551)

> my proposal is:
> 
> - A property `font-width` exists (with largely same description that `font-stretch` currently has).
> - For historical reasons, a property `font-stretch` exists which is an alias of `font-width`
> - Setting `font-width` also sets `font-stretch` to the same value
> - Setting `font-stretch` also sets `font-width` to the same value
> - Getting either property returns that one value. 

I agree, though I'd note I think we should define it specifically as a [legacy name alias](https://drafts.csswg.org/css-cascade-5/#legacy-name-alias) and rely on existing spec to characterize how the aliasing works, rather than custom define it. I think that gives the behavior you're aiming for. 

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/551#issuecomment-1756610014 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 11 October 2023 01:50:39 UTC