summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html')
-rw-r--r--testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html b/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html
new file mode 100644
index 0000000000..3790ba0bd1
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/improperly-contained-annotation-001.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+
+ <meta charset="UTF-8">
+
+ <title>CSS Ruby Test: Improperly-contained ruby annotation</title>
+
+ <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+ <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#ruby-display">
+ <link rel="help" href="https://www.w3.org/TR/css-ruby-1/#box-fixup">
+ <link rel="match" href="reference/improperly-contained-annotation-001-ref.html">
+
+ <meta content="This test checks that an improperly-contained ruby annotation is wrapped in an anonymous ruby container.">
+
+ <style>
+ ruby
+ {
+ background-color: lightblue;
+ font-size: 40px;
+ }
+
+ rbc
+ {
+ display: ruby-base-container;
+ }
+ </style>
+
+ <ruby><rbc>B<rt>A</rt></rbc></ruby>