summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/ruby-text-decoration-01.html
blob: 8fc0911985b537ddd3081d237be88769f9c76d2a (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: text-decoration on rubies</title>
  <link rel="author" title="Xidorn Quan" href="http://www.upsuper.org/">
  <link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#line-decoration">
  <link rel="match" href="reference/ruby-text-decoration-01-ref.html">
</head>
<style type="text/css">
  ruby { display: ruby; }
  rb { display: ruby-base; white-space: nowrap; }
  rt { display: ruby-text; white-space: nowrap; }
  p { line-height: 3em; }
  p {
    text-decoration: underline;
  }
</style>
<body>
  <p>
    <ruby><rb></rb><rt>けい</rt
         ><rb></rb><rt>おう</rt
         ><rb></rb><rt></rt
         ><rb></rb><rt>じゅく</rt
         ><rb></rb><rt>だい</rt
         ><rb></rb><rt>がく</rt></ruby>
  </p>
</body>
</html>