summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-text-collapse.html
blob: 5bb01aab026847c0e6092c7edcc2b208c5e2fe57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="ja">
<meta charset="UTF-8">
<title>CSS Test: visibility: collapse hides ruby annotations</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#hiding">
<link rel="match" href="ruby-text-collapse-ref.html">
<style>
  body { line-height: 5; }
  rt { font-size: 80%; }
</style>
<ruby>
  <rb></rb><rb></rb><rb></rb>
  <rt>こん</rt><rt>ちゅう</rt><rt></rt>
</ruby><br>
<ruby>
  <rb></rb><rb></rb><rb></rb>
  <rt>こん</rt><rt style="visibility: hidden">ちゅう</rt><rt></rt>
</ruby><br>
<ruby>
  <rb></rb><rb></rb><rb></rb>
  <rt>こん</rt><rt style="visibility: collapse">ちゅう</rt><rt></rt>
</ruby>