blob: a071d0d441d77f3fe2fb8d26c5b8f26cb89a4c81 [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Rhythmic Sizing: line-height-step with ruby in vertical-rl</title>
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-rhythm-1/#line-height-step">
<link rel="match" href="reference/line-height-step-writing-mode-vrl-ruby-001.html">
<meta name="assert" content="This test asserts the line-height-step property with ruby in vertical-rl writing mode.">
<meta name="flags" content="ahem">
<style>
.container {
font-family: Ahem;
font-size: 40px;
writing-mode: vertical-rl;
width: 5em;
}
.test, .ref {
display: inline-block;
vertical-align: top;
}
.test {
line-height: 40px;
line-height-step: 120px;
}
.ref {
line-height: 120px;
}
</style>
<body>
<p class="instructions">Test passes if top and bottom are the same.
<div class="container">
<div class="ref">
<div>X<ruby>XX<rt>XX</rt></ruby>X</div>
</div>
<div class="test">
<div>X<ruby>XX<rt>XX</rt></ruby>X</div>
</div>
</div>
</body>