<!DOCTYPE html>
<body>
<p style="text-decoration: overline; text-decoration-color: #44cc44;">
  <span>Should have</span>
  only overline.
</p>
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="200">
 <text style="text-decoration: overline;" y="20">
  <tspan>Should have</tspan> only overline.
 </text>
</svg>
</body>
