Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Non-reference case for text-decoration-thickness</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
#main {
display: flex;
}
div span {
text-decoration: green underline;
text-decoration-skip-ink: none;
font: 20px/1 Ahem;
color: transparent;
padding-right: 1em;
}
</style>
</head>
<body>
<p>Test passes if the right has a thick green underline</p>
<div id="main">
<div>left<span>XXXX</span></div>
<div><span>XXXX</span>right</div>
</div>
</body>
</html>