Skip to content

Chrome 145 letter-spacing and word-spacing percentage support#29200

Open
chrisdavidmills wants to merge 1 commit intomdn:mainfrom
chrisdavidmills:letter-spacing-word-spacing-percentages
Open

Chrome 145 letter-spacing and word-spacing percentage support#29200
chrisdavidmills wants to merge 1 commit intomdn:mainfrom
chrisdavidmills:letter-spacing-word-spacing-percentages

Conversation

@chrisdavidmills
Copy link
Contributor

Summary

Chrome 145 adds support for percentage values on the letter-spacing and word-spacing properties.

See https://chromestatus.com/feature/5106867491700736.

This PR adds Chrome support data for % values on both these properties. Note that word-spacing already had this data, but it was marked as deprecated. I'm wondering if it was deprecated a while ago. It certainly doesn't seem to be now, as specified in the CSS Text L4 spec.

I've marked both Firefox and Safari as supported, as in tests, the % values seem to work in both.

Test results and supporting details

Related issues

@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed labels Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@chrisdavidmills chrisdavidmills requested a review from caugner March 10, 2026 07:48
"percentages": {
"__compat": {
"description": "`<percentage>` values",
"spec_url": "https://www.w3.org/TR/css-text-4/#propdef-word-spacing",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"spec_url": "https://www.w3.org/TR/css-text-4/#propdef-word-spacing",
"spec_url": "https://www.w3.org/TR/css-text-4/#valdef-word-spacing-length-percentage",

or

Suggested change
"spec_url": "https://www.w3.org/TR/css-text-4/#propdef-word-spacing",
"spec_url": "https://www.w3.org/TR/css-values-4/#percentage-value",

"percentages": {
"__compat": {
"description": "`<percentage>` values",
"spec_url": "https://www.w3.org/TR/css-text-4/#propdef-word-spacing",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dito

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

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:m [PR only] 25-100 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants