Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="UTF-8">
<title>Tests for ruby-overhang: spaces with ideographic spaces in vertical writing modes</title>
<link rel="match" href="ruby-overhang-spaces-vertical-001-ref.html">
<meta name=assert content="With 'ruby-overhang: spaces', excess ruby overhangs on top of the ideographic spaces in vertical writing modes.">
<style>
ruby {
ruby-overhang: spaces;
ruby-align: center;
}
span {
writing-mode: vertical-lr;
font-size: 20px;
border-top: 5px solid;
border-bottom: 5px solid;
height: max-content;
}
.test { border-color: orange; }
.measure { border-color: blue; }
</style>
<body lang="ja">
<p>Test passes if orange and blue lines are aligned.
</br>
<span class=test>あ <ruby>あ<rt>ああああああああああ</ruby> あ</span><span class=measure>あ  あ  あ</span>
</body>