chromium/third_party/blink/web_tests/external/wpt/css/css-text-decor/text-underline-offset-calc-ref.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>text-underline-offset calc() support</title>
<link rel="author" title="Zak Ridouh" href="mailto:[email protected]" />
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#underline-offset" />
<style>
div {
  display: flex;
  font-size: 22px;
}
.underline {
  text-decoration-color: green;
  text-decoration-line: underline;
  text-decoration-thickness: 15px;
  text-decoration-skip-ink: none;
}
.ref {
  text-underline-offset: 1em;
}
</style>
<p>Test passes if black and green bar pairs are the same shape and size.</p>
<div>
  <span class="underline ref">XXXXXX</span>
</div>