Skip to content

Allow implementation limits for huge font-stretch - #64193

Open
domenic wants to merge 1 commit into
masterfrom
codex/fix-font-stretch-implementation-limits
Open

domenic wants to merge 1 commit into
masterfrom
codex/fix-font-stretch-implementation-limits

Conversation

@domenic

@domenic domenic commented Oct 25, 2026

Copy link
Copy Markdown
Member

Keep the syntax-support assertion for 1e9%, but omit its exact computed-value assertion. CSS Values allows implementation-specific numeric limits: Chromium and WebKit clamp this value to 8191.75%, and Firefox clamps it to 1000%. The old expectation also used scientific notation, contrary to CSSOM number serialization. Ordinary percentages retain their exact computed-value checks.

https://drafts.csswg.org/css-values-4/#numeric-types https://drafts.csswg.org/cssom/#serialize-a-css-component-value

Keep the syntax-support assertion for 1e9%, but omit its exact computed-value assertion. CSS Values allows implementation-specific numeric limits: Chromium and WebKit clamp this value to 8191.75%, and Firefox clamps it to 1000%. The old expectation also used scientific notation, contrary to CSSOM number serialization. Ordinary percentages retain their exact computed-value checks.

https://drafts.csswg.org/css-values-4/#numeric-types
https://drafts.csswg.org/cssom/#serialize-a-css-component-value

Co-authored-by: codex <codex@openai.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants