I'm wondering whether size-adjust is the best name for this descriptor that we just resolved to add in #6075.
The association with the font-size-adjust property is one consideration; I can't decide if the similarity of the name is good or bad. On the one hand, there's definitely a similarity between the two features: they both adjust the size at which a font is actually used for a given computed font-size. But on the other hand, they're quite different in how they operate and what their value means. The descriptor takes a scale factor (percentage) that is simply and directly applied to the font, while the font-size-adjust property takes a number that kind-of looks like a scale factor but is actually a proportion of the computed font-size that serves as a target for the x-height of the used font. This seems a sufficiently different model that maybe associating the property and the descriptor by similar naming isn't really a good thing.
So before we go ahead and implement/ship this, I'd like us to consider whether a different name such as glyph-scale-factor, scale-factor, or even simply scale or scaling would be better. Such names seem to me to very directly state what the descriptor does, and avoid the implied parallel to font-size-adjust whose values have quite a different interpretation.
I'm wondering whether
size-adjustis the best name for this descriptor that we just resolved to add in #6075.The association with the
font-size-adjustproperty is one consideration; I can't decide if the similarity of the name is good or bad. On the one hand, there's definitely a similarity between the two features: they both adjust the size at which a font is actually used for a given computedfont-size. But on the other hand, they're quite different in how they operate and what their value means. The descriptor takes a scale factor (percentage) that is simply and directly applied to the font, while thefont-size-adjustproperty takes a number that kind-of looks like a scale factor but is actually a proportion of the computedfont-sizethat serves as a target for the x-height of the used font. This seems a sufficiently different model that maybe associating the property and the descriptor by similar naming isn't really a good thing.So before we go ahead and implement/ship this, I'd like us to consider whether a different name such as
glyph-scale-factor,scale-factor, or even simplyscaleorscalingwould be better. Such names seem to me to very directly state what the descriptor does, and avoid the implied parallel tofont-size-adjustwhose values have quite a different interpretation.