| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>CSS Rhythmic Sizing: line-height-step and ruby</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 and
ruby."> |
| 7 <meta name="flags" content="ahem"> |
| 8 <style> |
| 9 div { |
| 10 font-family: Ahem; |
| 11 font-size: 40px; |
| 12 } |
| 13 .test, .ref { |
| 14 display: inline-block; |
| 15 vertical-align: top; |
| 16 width: 5em; |
| 17 } |
| 18 .test { |
| 19 line-height: 40px; |
| 20 line-height-step: 120px; |
| 21 } |
| 22 .ref { |
| 23 line-height: 120px; |
| 24 } |
| 25 </style> |
| 26 <body> |
| 27 <p class="instructions">Test passes if left and right are the same. |
| 28 <div class="ref"> |
| 29 <div>X<ruby>XX<rt>XX</rt></ruby>X</div> |
| 30 </div> |
| 31 <div class="test"> |
| 32 <div>X<ruby>XX<rt>XX</rt></ruby>X</div> |
| 33 </div> |
| 34 </body> |
| OLD | NEW |