blob: 5d48a28aae9380b92f99bf9bb1f141d6287065d2 [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
Left side of a japanese character "国" should vertically align with baseline of "a".
<div style="writing-mode: vertical-rl; font-size: 4em">
<span>a
<div style="background-color: green; display: inline-block">a<br></div>
</span>
<br>
<span>a
<ruby style="background-color: green;"><rt style="background-color: red; opacity: 0.5">くに</rt></ruby>
</span>
<br>
</div>
</body>
</html>