summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/block-ruby-002-ref.html
blob: a4d26153da64266a1cd4366eb05e18291e0b3d07 (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
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
  -->
<html lang="ja">
<meta charset="utf-8">
<title>Reference: blockification/inlinification of 'display:ruby/block ruby'.</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<style>
div,span { background: lightblue; }
ruby { display: ruby; }
rbb { display: ruby; background: lightblue; }
grid { display: grid; }
.mbp {
  margin: 1px 3px 5px 7px;
  padding: 3px 5px 7px 1px;
  border-width: 3px 1px 7px 5px;
  border-style: solid;
}
rbc {
  display: ruby-base-container;
  unicode-bidi: isolate;
}
rtc {
  display: ruby-text-container;
  unicode-bidi: isolate;
}
</style>
<grid>A<div><ruby><rt></rt></ruby></div>B</grid>
<grid>A<div class=mbp><ruby><rt></rt></ruby></div>B</grid>
<grid>A
    <div><ruby><rt></rt></ruby></div>
    <div><ruby><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc><rbc></rbc></ruby></div>
B
</grid>
<span><ruby><rt><rbb></rbb></rt></ruby></span>
<span><ruby><rbc><rbb></rbb></rbc></ruby></span>
<span><ruby><rtc><rbb></rbb></rtc></ruby></span>
<span><ruby><rbb></rbb></ruby></span>

<pre>block ruby, block ruby, block ruby, block ruby, ruby, ruby, ruby, ruby, ruby, ruby, ruby, ruby, </pre>
</html>