Re: [csswg-drafts] [css-fonts] bikeshedding name of `size-adjust` descriptor (#6114)

I don't like the idea of `font-size` -- yes, there's prior art for same-named descriptor/property meaning somewhat different things, but the value of this thing is *not* a font size, either for font-selection purposes or for rendering; it's a scale factor.

I'd be a lot happier with `size-adjust` here if we *didn't* have the `font-size-adjust` property already, which I agree is rather opaque and confusing. But given that it already exists, my preference would be to use a distinct name here because of the difference in what the values mean. It would be natural to assume that `size-adjust: 50%` is comparable to `font-size-adjust: 0.5`, and that's just wrong.

A name that includes `scale` rather than `size` makes it more obvious (IMO) that this is a scale factor rather than an absolute size (usually, setting a `size` to a percentage means the percentage will be resolved against some outside dimension such as a containing block or an inherited dimension). 

If you want to make the connection to `font-size` explicit, how about `font-size-scaling`?


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


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

Received on Thursday, 18 March 2021 11:44:25 UTC