Skip to content
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

support font-stretch percentage values #552

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

antoinebrault
Copy link
Contributor

What changed / motivation ?

possible values can be a percentage from 50% to 200% https://developer.mozilla.org/en-US/docs/Web/CSS/font-stretch#values

Pre-flight checklist

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 23, 2024
@nmn nmn merged commit bea3495 into facebook:main Apr 23, 2024
9 checks passed
@nmn
Copy link
Contributor

nmn commented Apr 23, 2024

Thanks!

@necolas
Copy link
Contributor

necolas commented Apr 23, 2024

This PR allows any string, which is not correct. Since flow doesn't support typing this correctly, maybe the compiler should perform the full check

@nmn
Copy link
Contributor

nmn commented Apr 24, 2024

@necolas The ESLint rule and Babel plugin should catch this. Will make sure to update ESLint for now as the Babel validation is a longer term project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants