Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text-decor/text-underline-position-horizontal2.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="match" href="reference/text-underline-position-horizontal2-ref.html">
<style>
.underline {
text-decoration: underline;
text-underline-position: under right;
}
</style>
</head>
<body lang="en">
In vertical writing-modes, this keyword forces the line to be placed
<div class=underline style="writing-mode: vertical-lr">on the right side of the text.</div>
<div class=underline>In horizontal writing-modes, it is a synonym of auto.</div>
</body>
</html>