CSS Text Box

- WD

CSS text-box (and its longhands text-box-trim & text-box-edge) provide the ability to trim extra space over/under text glyphs at the start/end of a block to match specific font-provided metrics. This allows for more precise alignment and positioning of text.

Chrome

  1. 4 - 127: Not supported
  2. 128 - 132: Disabled by default
  3. 133 - 141: Supported
  4. 142: Supported
  5. 143 - 145: Supported

Edge

  1. 12 - 127: Not supported
  2. 128 - 131: Disabled by default
  3. 132 - 141: Supported
  4. 142: Supported

Safari

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

Firefox

  1. 2 - 143: Not supported
  2. 144: Not supported
  3. 145 - 147: Not supported

Opera

  1. 9 - 116: Not supported
  2. 117 - 121: Disabled by default
  3. 122: Disabled by default

IE

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

Chrome for Android

  1. 142: Supported

Safari on iOS

  1. 3.2 - 16.3: Not supported
  2. 16.4 - 18.1: Disabled by default
  3. 18.2 - 18.6: Supported
  4. 26.0: Supported
  5. 26.1: Supported

Samsung Internet

  1. 4 - 28: Not supported
  2. 29: 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. 142: Supported

Firefox for Android

  1. 144: 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
Caught at shutdownArray ( [type] => 1 [message] => Uncaught Error: Call to undefined method CaniuseIndex::runTests() in /home/canius6/public_html/admin/templates/main.tpl.php:174 Stack trace: #0 /home/canius6/public_html/admin/lib/index.class.php(204): include() #1 /home/canius6/public_html/admin/lib/index.class.php(788): CaniuseIndex->showPage() #2 /home/canius6/public_html/admin/lib/index.class.php(44): CaniuseIndex->start() #3 /home/canius6/public_html/index.php(10): CaniuseIndex->showIndex() #4 {main} thrown [file] => /home/canius6/public_html/admin/templates/main.tpl.php [line] => 174 ) Caught at shutdown