-
Notifications
You must be signed in to change notification settings - Fork 194
Add font-size-adjust #748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add font-size-adjust #748
Conversation
| @@ -0,0 +1,9 @@ | |||
| name: font-size-adjust | |||
| description: The `font-size-adjust` CSS property sets the size of lowercase letters relative to the size of uppercase letters. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drott is this a reasonable description of this feature for web developers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is inaccurate, the MDN text is also too specific to lowercase letters and incorrect, as the property allows more than that.
perhaps:
The font-size-adjust property provides a way to preserve apparent size of text across fonts in the fallback chain by adjusting the used font size so that the specified metric is scaled to the same size regardless of the font used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, so it allows matching of all of the font metrics listed in the spec and MDN? That's ex-height, cap-height, ch-width, ic-width, and ic-height. Do all implementations support all of these, or will we need to break this feature up into varying levels of support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I expect all impls to support all of them. We discussed whether ic-height is needed or going to be removed from the spec, but that discussion has shifted to what we do when a metric is unavailable in the font.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Daniel D. Beck <[email protected]>
No description provided.