summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/ruby-position-horizontal.html
blob: e6d9e8393b2c9125a803d1cd02e5ca64d494ad83 (plain)
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Bug 1055665 - Test for ruby-position</title>
  <link rel="stylesheet" href="common.css">
  <style>
    body {
      font-family: monospace;
      /* use a large line-height here to avoid additional leadings */
      line-height: 8em;
    }
    rtc, rt {
      font-size: 100% !important;
      line-height: normal !important;
    }
  </style>
</head>
<body>
  <ruby>
    <rb>base##</rb>
    <rtc style="ruby-position: over"><rt>over##</rt></rtc>
    <rtc style="ruby-position: under"><rt>under#</rt></rtc>
    <rtc style="ruby-position: over"><rt>over2#</rt></rtc>
    <rtc style="ruby-position: under"><rt>under2</rt></rtc>
  </ruby>
</body>
</html>