summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html')
-rw-r--r--testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html b/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html
new file mode 100644
index 0000000000..d502dbca9b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/nested-ruby-pairing-001.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="ja">
+<head>
+ <meta charset="UTF-8">
+ <title>CSS Test: Basic nested ruby</title>
+ <link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
+ <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#nested-pairing">
+ <link rel="match" href="nested-ruby-pairing-001-ref.html">
+ <style>
+ div {
+ display: inline-block;
+ padding: 20px;
+ border: 1px solid black;
+ }
+ ruby {
+ ruby-position: over;
+ }
+ </style>
+</head>
+<body>
+ <p>Test passes if content in the two blocks are identical:</p>
+ <div id="test">
+ <ruby><ruby>東<rt>とう</rt>南<rt>なん</rt></ruby><rt lang=en>Southeast</rt></ruby>の方角
+ </div>
+ <div id="ref">
+ <ruby><rb>東<rb>南<rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
+ </div>
+</body>
+</html>