8000
Skip to content

[css-inline] bikeshedding name of size-adjust descriptor #6114

Description

@jfkthame

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0