summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html b/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html
new file mode 100644
index 0000000000..8ddca2fc5b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/ruby-box-model-001-ref.html
@@ -0,0 +1,81 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>CSS test reference</title>
+
+<style>
+.r { display: ruby; }
+.rbc { display: ruby-base-container; }
+.rb { display: ruby-base; }
+.rtc { display: ruby-text-container; }
+.rt { display: ruby-text; }
+
+.r { font: 50px/1 monospace; }
+
+.rb { background: pink; }
+.rt { background: orange; }
+</style>
+
+<p>Test passes if, in each of the base/annotations pairs below, there is no gap between the pink box of the base and the orange box of the annotation.</p>
+
+<span class=r>
+ <span class="rbc pv">
+ <span class=rb>b1</span>
+ </span>
+ <span class="rtc pv">
+ <span class=rt>a1</span>
+ </span>
+</span>
+
+<span class=r>
+ <span class="rbc ph">
+ <span class=rb>b2</span>
+ </span>
+ <span class="rtc ph">
+ <span class=rt>a2</span>
+ </span>
+</span>
+
+<span class=r>
+ <span class="rbc bv">
+ <span class=rb>b3</span>
+ </span>
+ <span class="rtc bv">
+ <span class=rt>a3</span>
+ </span>
+</span>
+
+<span class=r>
+ <span class="rbc bh">
+ <span class=rb>b4</span>
+ </span>
+ <span class="rtc bh">
+ <span class=rt>a4</span>
+ </span>
+</span>
+
+<span class=r>
+ <span class="rbc mv">
+ <span class=rb>b5</span>
+ </span>
+ <span class="rtc mv">
+ <span class=rt>a5</span>
+ </span>
+</span>
+
+<span class=r>
+ <span class="rbc mh">
+ <span class=rb>b6</span>
+ </span>
+ <span class="rtc mh">
+ <span class=rt>a6</span>
+ </span>
+</span>
+
+<span class=r>
+ <span class="rbc ph pv mh mv bh bv">
+ <span class=rb>b7</span>
+ </span>
+ <span class="rtc ph pv mh mv bh bv">
+ <span class=rt>a7</span>
+ </span>
+</span>