blob: 66b6990842a326f9d51bfee33d3e1568bbee098f [file] [edit]
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Tests for ruby-overhang: spaces with middle dot</title>
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-overhang">
<link rel="match" href="ruby-overhang-spaces-vertical-005-ref.html">
<meta name=assert content="With 'ruby-overhang: spaces', excess ruby overhangs on top of the blank part of middle dot in vertical writing mode.">
<style>
ruby {
ruby-overhang: spaces;
ruby-align: center;
}
span {
writing-mode: vertical-lr;
font-size: 20px;
border-top: 5px solid;
border-bottom: 5px solid;
width: 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>