summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/intrinsic-isize-2.html
blob: 05991bb1c461af3552003a0510b3eb54f0042a1b (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
<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <title>Bug 1180443 - Intrinsic ISize calculation of ruby with whitespace</title>
  <style>
    div {
      display: inline-block;
      border: 1px solid black;
    }
  </style>
</head>
<body>
  <p>No line break should happen in any block, and the content should just fit in the block.</p>

  <div>
    <ruby><rb>ABC</rb> <rb>DEF</rb></ruby>
  </div>
  <div>
    XYZ <ruby><rb>ABC</rb><rb>DEF</rb></ruby> XYZ
  </div>

  <div>
    <ruby><rb>あい</rb> <rb>うえ</rb></ruby>
  </div>
  <div>
    お <ruby><rb>あい</rb><rb>うえ</rb></ruby> お
  </div>
  <br>
</body>
</html>