summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/rbc-rtc-basic-001.html
blob: 758490a5536793449e072f31ef9d38481355a200 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>

 <html lang="ja">

  <meta charset="UTF-8">

  <title>CSS Ruby Test: rbc and rtc elements (basic)</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="match" href="reference/rbc-rtc-basic-001-ref.html">
  <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#box-fixup">


  <style>
  body
    {
      font-size: 60px;
    }

  ruby
    {
      background: lightblue;
    }

  span#rbc
    {
      display: ruby-base-container;
    }

  rtc
    {
      display: ruby-text-container;
    }
  </style>

  <ruby><span id="rbc"><rb>あい</rb></span><rt><rt></ruby>

  <ruby>でい<rtc>する</ruby>

  <ruby><rb><rb><rtc></ruby>

 </html>