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 - 127: Not supported
  2. 128 - 130: Disabled by default
  3. 131: Disabled by default
  4. 132 - 134: Disabled by default

Edge

  1. 12 - 127: Not supported
  2. 128 - 130: Disabled by default
  3. 131: Disabled by default

Safari

  1. 3.1 - 16.3: Not supported
  2. 16.4 - 18.0: Disabled by default
  3. 18.1: Disabled by default
  4. 18.2: Disabled by default
  5. TP: Supported

Firefox

  1. 2 - 131: Not supported
  2. 132: Not supported
  3. 133 - 135: Not supported

Opera

  1. 9 - 113: Not supported
  2. 114: Not supported

IE

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

Chrome for Android

  1. 131: Not supported

Safari on iOS

  1. 3.2 - 16.3: Not supported
  2. 16.4 - 18.0: Disabled by default
  3. 18.1: Disabled by default
  4. 18.2: Disabled by default

Samsung Internet

  1. 4 - 25: Not supported
  2. 26: Not supported

Opera Mini

  1. all: Not supported

Opera Mobile

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

UC Browser for Android

  1. 15.5: Not supported

Android Browser

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

Firefox for Android

  1. 132: Not supported

QQ Browser

  1. 14.9: Not supported

Baidu Browser

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