summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/rt-display-001.html
blob: a83ce243b342a19c420da81d08c3b2eaab475f27 (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
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Ruby Test: element with 'display: ruby-text' (basic)</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#ruby-display">
  <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#base-annotation-pairing">
  <link rel="match" href="reference/rb-display-001-ref.html">


  <style>
  ruby
    {
      background-color: lightblue;
      font-size: 60px;
    }

  span.rt
    {
      display: ruby-text;
      font-size: 50%;
    }
  </style>

  <ruby><rb>bas</rb><rb>bas</rb><span class="rt">T</span><span class="rt">T</span></ruby>