blob: ec578623c098b3437db1d96809043d958a38b994 [file] [edit]
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Tests for ruby-overhang: spaces with preserved tabs</title>
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-overhang">
<link rel="match" href="ruby-overhang-spaces-019-ref.html">
<meta name=assert content="With 'ruby-overhang: spaces', excess ruby overhangs on top of the ideographic spaces and the blank part of middle dot, but no further.">
<style>
ruby {
ruby-overhang: spaces;
ruby-align: center;
}
div {
font-size: 20px;
border-left: 5px solid;
border-right: 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.
<div class=test>あ&#x00B7;<ruby><rt>あああああああ</ruby>&#x00B7;あ</div>
<div class=measure>あ&#x00B7; あ &#x00B7;あ</div>
</body>