<!DOCTYPE html>
<style>
#outer { text-decoration: underline; }
</style>
<svg id=outer>
<text y="20">Text which does have an underline</text>
</svg>
<!DOCTYPE html>
<style>
#outer { text-decoration: underline; }
</style>
<svg id=outer>
<text y="20">Text which does have an underline</text>
</svg>