summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html
new file mode 100644
index 0000000000..6cbcc7807f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/ruby-text-collapse-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="ja">
+<meta charset="UTF-8">
+<title>CSS Reference: visibility: collapse hides ruby annotations</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
+<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="opacity: 0">ちゅう</rt><rt>き</rt>
+</ruby><br>
+<ruby>
+ <rb>昆</rb><rb>虫</rb><rb>記</rb>
+ <rt>こん</rt><rt></rt><rt>き</rt>
+</ruby>