Caniuse: Add text-underline-position property

Created on 21 Feb 2017  Â·  12Comments  Â·  Source: Fyrd/caniuse

The text-underline-position property is in CR spec.

Quick test indicates:

  • WebKit supports with prefix.
  • Blink added this in M57, currently in beta.
  • MSDN says it supports old syntax with prefix, but I can't see it working in IE/Edge.
  • Gecko has bug, though not active these days.
Support data suggestion

All 12 comments

+1

Didn't know this was a thing, cool!

+1

+1

+1

I just found out about this, and am having trouble finding proper browser support information. MDN's documentation lists many browser/property combinations as "unknown". It would be really helpful to have this in caniuse.

+1

+1

Webkit/Safari 12.1 now supports text-underline-offset and text-decoration-thickness.

Description:
The text-underline-offset allows for placing an underline at a specific location below the baseline. The text-decoration-thickness property specifies the thickness using a length value — a number followed by a unit (e.g. 1px or 0.5em). Rather than using absolute lengths, using em units in both of these properties is preferable here so that the line thickness and offset scales with the font size. You can also specify from-font to both of these properties which will pull the relevant metric from the used font file itself.

Documentation:
https://webkit.org/blog/8718/new-webkit-features-in-safari-12-1/

We should add both text-decoration-thickness and text-underline-offset. As stated above, both are now supported in Safari 12.1+. And we are implementing them in Firefox.

Here is the current support data according to MDN

image

Ah, text-underline-position and text-underline-offset are two different things. I'll go open a different issue for the latter.

This feature will be shipped with Chrome 87.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

valtido picture valtido  Â·  3Comments

Schweinepriester picture Schweinepriester  Â·  3Comments

rogeriotaques picture rogeriotaques  Â·  3Comments

SteveALee picture SteveALee  Â·  3Comments

mirraj2 picture mirraj2  Â·  3Comments