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

  <meta charset="UTF-8">

  <title>CSS Ruby Test: element with 'display: ruby-base' (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.rb
    {
      display: ruby-base;
    }
  </style>

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