| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>CSS Rhythmic Sizing: line-height-step in vertical-rl</title> |
| 3 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com"> |
| 4 <link rel="help" href="https://drafts.csswg.org/css-rhythm-1/#line-height-step"> |
| 5 <link rel="match" href="reference/line-height-step-ruby-001.html"> |
| 6 <meta name="assert" content="This test asserts the line-height-step property in
vertical-rl writing mode."> |
| 7 <meta name="flags" content="ahem"> |
| 8 <style> |
| 9 .container { |
| 10 font-family: Ahem; |
| 11 font-size: 40px; |
| 12 writing-mode: vertical-rl; |
| 13 width: 5em; |
| 14 } |
| 15 .test, .ref { |
| 16 display: inline-block; |
| 17 vertical-align: top; |
| 18 } |
| 19 .test { |
| 20 line-height: 40px; |
| 21 line-height-step: 120px; |
| 22 } |
| 23 .ref { |
| 24 line-height: 120px; |
| 25 } |
| 26 </style> |
| 27 <body> |
| 28 <p class="instructions">Test passes if top and bottom are the same. |
| 29 <div class="container"> |
| 30 <div class="ref"> |
| 31 <div>XXXXX</div> |
| 32 </div> |
| 33 <div class="test"> |
| 34 <div>XXXXX</div> |
| 35 </div> |
| 36 </div> |
| 37 </body> |
| OLD | NEW |