blob: f79f13b29d09c6241c8ed28b98cc1e5c50862060 [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Rhythmic Sizing: line-height-step and ruby</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-ruby-001.html">
<meta name="assert" content="This test asserts the line-height-step property and ruby.">
<meta name="flags" content="ahem">
<style>
div {
font-family: Ahem;
font-size: 40px;
}
.test, .ref {
display: inline-block;
vertical-align: top;
width: 5em;
}
.test {
line-height: 40px;
line-height-step: 120px;
}
.ref {
line-height: 120px;
}
</style>
<body>
<p class="instructions">Test passes if left and right are the same.
<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>
</body>