summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-bidi-004-ref.html
blob: 58ebff482c07f01af62542d0b664222da4055738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Ruby reference</title>
<style>
div { font-size: 50px; }
rb, rt, span { unicode-bidi: isolate; }
</style>
<p>All three examples should look the same:</p>

<div>
 <p>
  <ruby dir=rtl>&#x6F1; &#x6F2; &#x6F3;<rt>1 2 3</rt></ruby>
 </p>

 <p>
  <ruby dir=rtl>&#x6F1; &#x6F2; &#x6F3;<rt>1 2 3</rt></ruby>
 </p>

 <p>
  <ruby dir=rtl>&#x6F1; &#x6F2; &#x6F3;<rt>1 2 3</rt></ruby>
 </p>
</div>