Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-ruby/ruby-tab-in-base-003.html
<!DOCTYPE html> <meta charset="UTF-8"> <title>CSS Ruby Test: tabulation inside a nested ruby base</title> <link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com"> <link rel="help" href="https://www.w3.org/TR/css-text-3/#white-space-phase-2"> <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#line-breaks"> <link rel="match" href="ruby-tab-in-base-003-ref.html"> <link rel="stylesheet" href="/fonts/ahem.css"> <style> div.test { font: 25px/1 Ahem; white-space: pre; tab-size: 100px; } </style> <body> <div class="test">A<ruby>B<ruby>	X<rt>y</rt></ruby><rt>z</rt></ruby></div> </body>
/css/css-ruby/ruby-tab-in-base-003-ref.html
<!DOCTYPE html> <meta charset="UTF-8"> <title>CSS Ruby Reference: tabulation inside a nested ruby base</title> <link rel="stylesheet" href="/fonts/ahem.css"> <style> div.test { font: 25px/1 Ahem; } span.tab { /* The tab starts at 50px; the next 100px tab stop is at 100px, i.e. 50px. */ padding-left: 50px; } </style> <body> <div class="test">A<ruby>B<ruby><span class="tab"></span>X<rt>y</rt></ruby><rt>z</rt></ruby></div> </body>