Chrome 145 letter-spacing and word-spacing percentage support#29200
Open
chrisdavidmills wants to merge 1 commit intomdn:mainfrom
Open
Chrome 145 letter-spacing and word-spacing percentage support#29200chrisdavidmills wants to merge 1 commit intomdn:mainfrom
chrisdavidmills wants to merge 1 commit intomdn:mainfrom
Conversation
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
caugner
reviewed
Mar 13, 2026
| "percentages": { | ||
| "__compat": { | ||
| "description": "`<percentage>` values", | ||
| "spec_url": "https://www.w3.org/TR/css-text-4/#propdef-word-spacing", |
Contributor
There was a problem hiding this comment.
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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Chrome 145 adds support for percentage values on the
letter-spacingandword-spacingproperties.See https://chromestatus.com/feature/5106867491700736.
This PR adds Chrome support data for % values on both these properties. Note that
word-spacingalready 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