summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html
blob: d502dbca9b2d4c8a6e47668a2158a3f4d0995105 (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
29
<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <title>CSS Test: Basic nested ruby</title>
  <link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
  <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#nested-pairing">
  <link rel="match" href="nested-ruby-pairing-001-ref.html">
  <style>
    div {
      display: inline-block;
      padding: 20px;
      border: 1px solid black;
    }
    ruby {
      ruby-position: over;
    }
  </style>
</head>
<body>
  <p>Test passes if content in the two blocks are identical:</p>
  <div id="test">
    <ruby><ruby><rt>とう</rt><rt>なん</rt></ruby><rt lang=en>Southeast</rt></ruby>の方角
  </div>
  <div id="ref">
    <ruby><rb><rb><rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
  </div>
</body>
</html>