summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/reference
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/reference')
-rw-r--r--testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html25
-rw-r--r--testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html17
-rw-r--r--testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html29
-rw-r--r--testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html36
5 files changed, 135 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html
new file mode 100644
index 0000000000..72a55541bc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/reference/improperly-contained-annotation-001-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+
+ <meta charset="UTF-8">
+
+ <title>CSS Reference File</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+
+ <style>
+ ruby
+ {
+ background-color: lightblue;
+ font-size: 40px;
+ }
+ </style>
+
+ <ruby><rbc>B<ruby>&#8203;<rt>A</rt></ruby></rbc></ruby>
+
+ <!--
+
+ &#8203; or &#x200B; is the entity reference for zero-wide space.
+
+ MathML uses the entity name &ZeroWidthSpace; for this character.
+
+ -->
diff --git a/testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html
new file mode 100644
index 0000000000..4615b53ea7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/reference/intra-base-white-space-001-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+
+ <meta charset="UTF-8">
+
+ <title>CSS Reference File</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+
+ <style>
+ ruby
+ {
+ background-color: lightblue;
+ font-size: 60px;
+ }
+ </style>
+
+ <ruby>
+
+ <rb>b</rb><rt>a</rt><rb>&nbsp;</rb><rt></rt><rb>c</rb><rt>a</rt><rb>d&nbsp;</rb><rt>a</rt><rb>e</rb><rt>a</rt>
+
+ </ruby>
+
+ <!--
+
+ |[ a ]|[ ]|[ a ]| [ a ] |[ a ]|
+ |[ b ]|[ws]|[ c ]|[ d ][ws]|[ e ]|
+
+ -->
diff --git a/testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html
new file mode 100644
index 0000000000..f8ed4022bc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/reference/rb-display-001-ref.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+ <meta charset="UTF-8">
+
+ <title>CSS Reference File</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+
+ <style>
+ ruby
+ {
+ background-color: lightblue;
+ font-size: 60px;
+ }
+ </style>
+
+ <ruby>bas<rt>T</rt>bas<rt>T</rt></ruby>
diff --git a/testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html
new file mode 100644
index 0000000000..2860c848b5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/reference/rbc-rtc-basic-001-ref.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+
+ <html lang="ja">
+
+ <meta charset="UTF-8">
+
+ <title>CSS Reference File</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+
+ <style>
+ body
+ {
+ font-size: 60px;
+ }
+
+ ruby
+ {
+ background: lightblue;
+ }
+ </style>
+
+ <ruby>あい<rt>べ</rt>&nbsp;<rt>る</rt></ruby>
+
+ <ruby>で<rt>す</rt>い<rt>る</rt></ruby>
+
+ <ruby>私に<rt>誰</rt></ruby>
+
+ </html>
diff --git a/testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html b/testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html
new file mode 100644
index 0000000000..2a8f9a836f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/reference/ruby-annotation-pairing-001-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+
+ <meta charset="UTF-8">
+
+ <title>CSS Reference File</title>
+
+ <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
+ <link rel="stylesheet" href="/fonts/ahem.css">
+
+ <style>
+ div
+ {
+ font-family: Ahem;
+ font-size: 60px;
+ line-height: 1;
+ }
+
+ div.annotation
+ {
+ font-size: 30px;
+ margin-top: 60px;
+ text-indent: 15px;
+ }
+ </style>
+
+ <div class="annotation">A</div>
+
+ <div>W Z</div>
+
+ <div class="annotation">A</div>
+
+ <div>W Z</div>
+
+ <div class="annotation">A</div>
+
+ <div>W Z</div>