Here is a super simple question. I have some content that is underlined and some elements inside that need to not be underlined. I know there are plenty of workarounds for this (the myriad of different ways to underline everything else), but I feel like something below should be achievable. Is this desired behavior for a browser or is it a bug? Using Chrome.
Expected behavior is that "This is a" should be underlined and "test" should not be, but the whole thing is underlined. Result is that the whole sentence is underlined.
<span style="text-decoration: underline">
This is a <span style="text-decoration: none">test</span>
</span>
Thanks for any input!