Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="UTF-8">
<title>Tests for ruby-overhang: spaces with other space separators</title>
<link rel="match" href="ruby-overhang-spaces-015-ref.html">
<meta name=assert content="With 'ruby-overhang: spaces', excess ruby overhangs on top of the other space separators, 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>あ&#x1680;<ruby>あ<rt>ああああああ</ruby>&#x1680;あ</div>
<div class=test>あ&#x2000;<ruby>あ<rt>ああああああ</ruby>&#x2000;あ</div>
<div class=test>あ&#x2001;<ruby>あ<rt>ああああああ</ruby>&#x2001;あ</div>
<div class=test>あ&#x2002;<ruby>あ<rt>ああああああ</ruby>&#x2002;あ</div>
<div class=test>あ&#x2003;<ruby>あ<rt>ああああああ</ruby>&#x2003;あ</div>
<div class=test>あ&#x2004;<ruby>あ<rt>ああああああ</ruby>&#x2004;あ</div>
<div class=test>あ&#x2005;<ruby>あ<rt>ああああああ</ruby>&#x2005;あ</div>
<div class=test>あ&#x2006;<ruby>あ<rt>ああああああ</ruby>&#x2006;あ</div>
<div class=test>あ&#x2007;<ruby>あ<rt>ああああああ</ruby>&#x2007;あ</div>
<div class=test>あ&#x2008;<ruby>あ<rt>ああああああ</ruby>&#x2008;あ</div>
<div class=test>あ&#x2009;<ruby>あ<rt>ああああああ</ruby>&#x2009;あ</div>
<div class=test>あ&#x200A;<ruby>あ<rt>ああああああ</ruby>&#x200A;あ</div>
<div class=test>あ&#x202F;<ruby>あ<rt>ああああああ</ruby>&#x202F;あ</div>
<div class=test>あ&#x205F;<ruby>あ<rt>ああああああ</ruby>&#x205F;あ</div>
<div class=test>あ&#x3000;<ruby>あ<rt>ああああああ</ruby>&#x3000;あ</div>
<div class=measure>あ あ あ</div>
</body>