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 - 121: Not supported
  2. 122: Not supported
  3. 123 - 125: Not supported

Edge

  1. 12 - 121: Not supported
  2. 122: Not supported

Safari

  1. 3.1 - 16.3: Not supported
  2. 16.4 - 17.2: Disabled by default
  3. 17.3: Disabled by default
  4. 17.4: Disabled by default
  5. TP: Supported

Firefox

  1. 2 - 122: Not supported
  2. 123: Not supported
  3. 124 - 126: Not supported

Opera

  1. 9 - 105: Not supported
  2. 106: Not supported

IE

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

Chrome for Android

  1. 122: Not supported

Safari on iOS

  1. 3.2 - 16.3: Not supported
  2. 16.4 - 17.2: Disabled by default
  3. 17.3: Disabled by default
  4. 17.4: Disabled by default

Samsung Internet

  1. 4 - 22: Not supported
  2. 23: 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. 122: Not supported

Firefox for Android

  1. 123: 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