Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Text decoration - underline produces different HTML in different browsers.


We noticed that when we underline a text in Chrome and Firefox, the CSS styles added to the HTML are different bor both browser.
We are using 18.1.76.

I have tried this on the sample provided on your page - and we see same behaviour.

When using chrome, the CSS for underline is text-decoration-line: underline;

When using firefox, the CSS for underline is text-decoration: underline;

Could you please help us understand why there is difference in HTML being generated in Chrome and Firefox and if there any way to change chrome to behave same as firefox ?