Browser defaults vary, and the spec allows it
Rendered on a plain page with font-family set to Arial, the default link underline differs from browser to browser: each engine picks its own thickness and its own vertical distance from the baseline. The CSS Text Decoration module explicitly permits this for the auto value:
The user agent chooses an appropriate thickness for text decoration lines. […] The user agent chooses an appropriate offset for underlines.

Taking control of thickness and offset
Two widely supported properties let authors define these values directly instead of leaving them to the user agent:
text-decoration-thicknesstext-underline-offset
Used together, they make underlines consistent even between very different engines, such as Gecko-based Firefox on Android and WebKit-based Safari on macOS.
h1 {
text-decoration: underline;
text-decoration-thickness: 0.04em;
text-underline-offset: 0.03em;
}

text-decoration-thickness also accepts a from-font value, which asks the browser to use the font's own preferred underline width where one exists. Testing this value with several fonts produced inconsistent results.
Chrome bug: thickness is floored on macOS
When text-decoration-thickness is given a font-relative length that computes to a non-integer pixel value, Chrome floors it rather than rounding to the nearest integer. A declared 0.06em that computes to 1.92px is painted at 1px, not 2px. The problem is limited to macOS.
a {
font-size: 2em; /* computes to 32px */
text-decoration-thickness: 0.06em; /* computes to 1.92px */
}
The effect is visible in the screenshot below: the decoration lines in Chrome (third row) are half as thick as those in Safari and Firefox.

The issue is tracked as Chromium issue #1255280.
Chrome bug: offset sits too low
text-underline-offset is meant to set the exact distance between the alphabetic baseline and the underline, but Chrome's implementation is currently incorrect, so the line is drawn lower than the specified position.
h1 {
text-decoration: underline;
text-decoration-color: #f707;
/* disable “skip ink” */
-webkit-text-decoration-skip: none; /* Safari */
text-decoration-skip-ink: none;
/* cover the entire descender */
text-decoration-thickness: 0.175em; /* descender height */
text-underline-offset: 0; /* no offset from baseline */
}
A consequence of the bug is that the underline cannot be raised all the way to the baseline in Chrome.

The issue is tracked as Chromium issue #1172623.
Safari has a separate rendering flaw: it draws underlines on top of descenders rather than beneath them. This is a WebKit bug that was fixed very recently, and the fix should ship with the next Safari release.
Getting the fixes prioritized
Both properties are a welcome addition to CSS, so the sooner these Chrome bugs are resolved the better. If consistent underline styling matters for your work, star the reports in Chromium's bug tracker to signal demand.




