| <!DOCTYPE html> |
| <meta charset="UTF-8"> |
| <title>Tests for ruby-overhang: spaces with ruby-align: start and ideographic spaces</title> |
| <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-overhang"> |
| <link rel="match" href="ruby-overhang-spaces-align-005-ref.html"> |
| <meta name=assert content="With 'ruby-overhang: spaces' and 'ruby-align: start', with no previous item."> |
| <style> |
| ruby { |
| ruby-overhang: spaces; |
| ruby-align: start; |
| } |
| 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><ruby>あ<rt>ああああああ</ruby> あ</div> |
| <div class=measure>あ あ</div> |
| </body> |