The text-decoration-skip-ink CSS property controls how overlines and underlines are drawn when they cross over a glyph.
object.style.textDecorationSkipInk = "value";
<'text-decoration-skip-ink'> = auto | none | all
Automatically specified by the user agent.
User agents must draw continuous underlines and overlines, without interruptions when they cross over a glyph.
User agents must interrupt underlines and overlines where the line would cross glyph ink and to some distance to either side of the glyph outline.