summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002.html
blob: 741d41bec577bfe1aeb2e3e1e56a7973911f92bf (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
<!DOCTYPE html>
<html lang="ja">
<meta charset="UTF-8">
<title>Intrinsic ISize calculation of ruby</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#line-breaks">
<link rel="match" href="ruby-intrinsic-isize-002-ref.html">
<style>
  div {
    display: inline-block;
    border: 1px solid black;
  }
</style>
<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>