Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text/text-fit/text-decoration-thickness.html
<!DOCTYPE html> <html class="reftest-wait"> <meta charset="utf-8"> <link rel="help" href="https://drafts.csswg.org/css-text-5/#text-fit-property"> <link rel="match" href="text-decoration-thickness-ref.html"> <meta name="flags" content="ahem"> <link rel="stylesheet" href="/fonts/ahem.css"> <style> #grow-consistent { font: 20px/2 Ahem; width: 160px; text-fit: grow consistent; white-space: pre; border: 1px solid gray; text-decoration: overline lime; text-decoration-skip-ink: none; text-decoration-thickness: 4px; margin-bottom: 8px; } #grow-line { font: 20px/2 Ahem; width: 160px; text-fit: grow per-line-all; white-space: pre; border: 1px solid gray; text-decoration: overline lime; text-decoration-skip-ink: none; } </style> <div id="grow-consistent">ÉpÉ pÉpÉ</div> <div id="grow-line">ÉpÉp pÉpÉpÉpÉ</div> <script> document.fonts.ready.then(() => { document.documentElement.classList.remove('reftest-wait'); }); </script>
/css/css-text/text-fit/text-decoration-thickness-ref.html
<!DOCTYPE html> <html class="reftest-wait"> <meta charset="utf-8"> <link rel="stylesheet" href="/fonts/ahem.css"> <style> #grow-consistent { font: 40px/2 Ahem; width: 160px; white-space: pre; border: 1px solid gray; text-decoration: overline lime; text-decoration-skip-ink: none; text-decoration-thickness: 4px; margin-bottom: 8px; } #grow-line { font: 20px/2 Ahem; width: 160px; white-space: pre; border: 1px solid gray; text-decoration-skip-ink: none; } </style> <div id="grow-consistent">ÉpÉ pÉpÉ</div> <div id="grow-line"><span style="font-size:40px;text-decoration: overline lime">ÉpÉp</span> <span style="text-decoration: overline lime;">pÉpÉpÉpÉ</span></div> <script> document.fonts.ready.then(() => { document.documentElement.classList.remove('reftest-wait'); }); </script>