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

Chrome 133 text-box-* properties support #25730

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Jan 21, 2025

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 value leading: 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

@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed labels Jan 21, 2025
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

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

Looks plausible.

@caugner caugner merged commit e8e34b9 into mdn:main Jan 21, 2025
8 checks passed
@mdn-bot mdn-bot mentioned this pull request Jan 21, 2025
@chrisdavidmills chrisdavidmills deleted the text-box-trim-edge branch January 21, 2025 16:12
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:l [PR only] 101-1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants