Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>text-underline-offset does not affect overline placement in vertical text</title>
<meta name="assert" content="text-underline offset does not affect placement of an overline decoration in vertical">
<link rel="author" title="Dominik Röttsches" href="mailto:drott@chromium.org">
<link rel="match" href="reference/text-underline-offset-overline-vertical-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#main {
margin: 30px;
}
#main div {
writing-mode: vertical-lr;
text-decoration: green overline;
text-decoration-thickness: 5px;
text-decoration-skip-ink: none;
font: 20px/1 Ahem;
text-underline-offset: 20px;
}
</style>
</head>
<body>
<p class="instructions">Test passes if the green overline is not shifted away from black box.</p>
<div id="main">
<div>XXXX</div>
</div>
</body>
</html>