Skip to content

text-box #265

Open
Open

Description

@github-actions

This GitHub issue is for collecting web developer signals for text-box.

The text-box CSS property sets the spacing above and below text based on a font's typographic features. For example, text-box: trim-both ex alphabetic trims the top to the top of the letter x and the bottom to the bottom of most letters, without descenders.

Browser support

chromeavailable edgeavailable firefoxunavailable safariavailable
  • Chrome 133 (Feb 4, 2025)
  • Chrome Android 133 (Feb 4, 2025)
  • Edge 133 (Feb 6, 2025)
  • Firefox: not supported
  • Firefox for Android: not supported
  • Safari 18.2 (Dec 11, 2024)
  • Safari on iOS 18.2 (Dec 11, 2024)

Give us feedback

If you're pressed for time, but you want this feature to be available in all browsers, please give this issue a thumbs up 👍 reaction.

However, a much better guide for us is to know how you'd use this feature, and what you're having to do in the meantime. This helps us judge the priority versus other features.

Copy the template below in a comment, and add the details that matter to you.

## What I want to do with this feature

<!-- Add your specific use-cases, even if they seem obvious to you. -->

## What I'm having to do in the meantime

<!--
Are you having to use another feature instead, a polyfill, or is it blocking you completely?
Why are the alternatives worse than using this feature?
-->

All comments are expected to adhere to the Code of Conduct.

Learn more

You can learn more about this feature here:

Activity

  1. spartanatreyu commented on Jun 22, 2026

    @spartanatreyu

    Everyone's seen this (in)famous article, but I'll share it here for posterity: https://tonsky.me/blog/centering/

  2. vextrogen commented on Jun 27, 2026

    @vextrogen

    God, Firefox needs this implemented ASAP.

  3. kbhomes commented on Jun 30, 2026

    @kbhomes

    God, Firefox needs this implemented ASAP.

    Firefox is currently working on its implementation, with most of it already being available in Nightly — I have some more details in the "Intent to Prototype", and the main tracking bug is Bug 1816038. Hopefully won't be too long before it's available in the release channel!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions