summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/text-decor-3/ruby-text-decoration-01.html
blob: 943581a921919c9f4636d440c8ebbd6ff3740022 (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="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>