2 <style type=
"text/css">
3 .bg { background-color: #FFD; border: 1px solid black
; padding: 0.5em; margin: 0.2em; }
6 .ruby { display: inline-table
; text-align: center
; vertical-align: bottom
; }
7 .rb { display: table-row-group
; }
8 .rt { display: table-header-group
; font-size: 60%; }
12 ruby
{ display: inline-table
; text-align: center
; vertical-align: bottom
; }
13 rb
{ display: table-row-group
; }
14 rt
{ display: table-header-group
; font-size: 60%; }
19 Test that
<ruby
> rendered as inline-table (or somesuch) is not affected by ruby rendering.
20 Both
<div
> below should look the same.
23 <div class=
"bg">This is some XHTML1.1 text with
<span class=
"ruby"><span class=
"rb">Ruby
</span><span class=
"rp">(
</span><span class=
"rt">guide text
</span><span class=
"rp">)
</span></span> markup.
</div>
25 <div class=
"bg">This is some XHTML1.1 text with
<ruby><rb>Ruby
</rb><rp>(
</rp><rt>guide text
</rt><rp>)
</rp></ruby> markup.
</div>