| <!DOCTYPE html> |
| <title>CSS Rhythmic Sizing: line-height-step in vertical-rl</title> |
| <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com"> |
| <style> |
| .container { |
| font-family: Ahem; |
| font-size: 40px; |
| writing-mode: vertical-rl; |
| width: 5em; |
| } |
| .test, .ref { |
| display: inline-block; |
| vertical-align: top; |
| } |
| .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>XXXXX</div> |
| </div> |
| <div class="ref"> |
| <div>XXXXX</div> |
| </div> |
| </div> |
| </body> |