summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-bidi-001.html
blob: ba18071150a71aa8dab724eb71f777c1b4825104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Position of ruby annotation in RTL text</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/#bidi">
<link rel="match" href="ruby-bidi-001-ref.html">
<style>
  body { color: transparent; }
  rb { background: green; }
  rtc { background: red; }
  rt { background: cyan; }
</style>
<body dir="rtl">
  <ruby><rb>base<rtc><rt>text</ruby>
</body>