Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<link rel="match" href="text-decoration-skip-ink-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
#grow-consistent {
font: 20px/2 Ahem;
color: rgba(0, 0, 0, 0.5);
width: 160px;
text-fit: grow consistent;
white-space: pre;
border: 1px solid gray;
text-decoration: underline lime;
text-decoration-skip-ink: auto;
text-decoration-thickness: 4px;
margin-bottom: 8px;
}
#grow-line {
font: 20px/2 Ahem;
color: rgba(0, 0, 0, 0.5);
width: 160px;
text-fit: grow per-line-all;
white-space: pre;
border: 1px solid gray;
text-decoration: underline lime;
text-decoration-skip-ink: auto;
}
</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>