1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36

content / test / data / accessibility / html / ruby.html [blame]

<!--
@MAC-ALLOW:AXHelp*
-->
<!DOCTYPE html>
<html>
<body>

<!-- ruby with base text inside of <rb> -->
<ruby>
  <rb>ruby base</rb>
  <rp>(</rp>
  <rt>ruby text</rt>
  <rp>)</rp>
</ruby>

<!-- ruby with base text as direct child -->
<p>
  <ruby>
    ruby base<rt>ruby text</rt>
  </ruby>
</p>

<!-- ruby inline with other content -->
<p>
  Hi! <ruby>
    <rb>ruby base</rb><rt>ruby text</rt>
  </ruby>
</p>

<!-- Line-broken ruby -->
<p style="font-family:monospace; width:5ch;">
<ruby>ruby base<rt>ruby text</rt></ruby>
</p>

</body>
</html>