Chrome 133 text-box-* properties support #25730
Merged
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 133 and Safari 18.2 support the
text-box-*
properties from the CSS Inline Layout Module Level 3, which allow you to control how much leading is trimmed from the start and/or end block edges of text content.Most of the data was already added; this PR adds support data for the
text-edge
type.Note that, for the moment, I've not included the
text-edge
valueleading
: The spec is confusing, as a description is included but it is not included in the formal syntax. I've tried it and it doesn't seem to work in any browser. Is it a mistake that this is still included?Test results and supporting details
Related issues
MDN content: mdn/content#37738