CSS text-box-trim & text-box-edge

- WD

Provides the ability to remove the vertical space appearing above and below text glyphs, allowing more precise positioning and alignment.

Previously specified as the leading-trim & text-edge properties.

Chrome

  1. 4 - 116: Not supported
  2. 117: Not supported
  3. 118 - 120: Not supported

Edge

  1. 12 - 116: Not supported
  2. 117: Not supported

Safari

  1. 3.1 - 16.3: Not supported
  2. 16.4 - 16.5: Disabled by default
  3. 16.6: Disabled by default
  4. 17.0 - 17.1: Disabled by default
  5. TP: Supported

Firefox

  1. 2 - 116: Not supported
  2. 117: Not supported
  3. 118 - 120: Not supported

Opera

  1. 9 - 101: Not supported
  2. 102: Not supported

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Chrome for Android

  1. 117: Not supported

Safari on iOS

  1. 3.2 - 16.3: Not supported
  2. 16.4 - 16.6: Disabled by default
  3. 17.0: Disabled by default
  4. 17.1: Disabled by default

Samsung Internet

  1. 4 - 21: Not supported
  2. 22: Not supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 73: Not supported

UC Browser for Android

  1. 15.5: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 117: Not supported

Firefox for Android

  1. 117: Not supported

QQ Browser

  1. 13.1: Not supported

Baidu Browser

  1. 13.18: Not supported

KaiOS Browser

  1. 2.5: Not supported
  2. 3: Not supported
Resources:
CSS Tricks article
Document with examples of text-box-trim uses