Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Non-reference case for text-underline-offset</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#text{
border: black dashed;
overflow-y: auto;
height: 5em;
width: 20em;
font: 20px/1 Ahem;
color: transparent;
text-decoration: red underline;
text-decoration-skip-ink: none;
}
</style>
</head>
<body>
<div>Test fails if there is a red line or scrollbar in the dashed area</div>
<div id="text">XXXXXXX</div>
</body>
</html>