Bug 1267515 part 3 - Add reftest for nested ruby. r=dholbert
authorXidorn Quan <me@upsuper.org>
Thu, 10 Nov 2016 11:05:49 +1100
changeset 352300 a8e375f76713163cd3f2aa59d0a7e93ec378e2e9
parent 352299 ca6ff07941fcc205d3d0a118d8bdb6e2dcefb00e
child 352301 75e62eb1d0324f4c1a72ca9821619161b9cbe311
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1267515
milestone52.0a1
Bug 1267515 part 3 - Add reftest for nested ruby. r=dholbert MozReview-Commit-ID: DVlhN3S3Vca
layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001-ref.html
layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001.html
layout/reftests/w3c-css/submitted/ruby/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="ja">
+<head>
+  <meta charset="UTF-8">
+  <title>CSS Reference: Basic nested ruby</title>
+  <link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
+  <style>
+    div {
+      display: inline-block;
+      padding: 20px;
+      border: 1px solid black;
+    }
+  </style>
+</head>
+<body>
+  <p>Test passes if content in the two blocks are identical:</p>
+  <div id="test">
+    <ruby><rb>東<rb>南<rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
+  </div>
+  <div id="ref">
+    <ruby><rb>東<rb>南<rt>とう<rt>なん<rtc lang=en>Southeast</ruby>の方角
+  </div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/ruby/nested-ruby-pairing-001.html
@@ -0,0 +1,26 @@
+<!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;
+    }
+  </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>
--- a/layout/reftests/w3c-css/submitted/ruby/reftest.list
+++ b/layout/reftests/w3c-css/submitted/ruby/reftest.list
@@ -11,8 +11,11 @@
 == ruby-autohide-003.html ruby-autohide-003-ref.html
 == ruby-autohide-004.html ruby-autohide-001-ref.html
 
 # Tests for ruby with text-combine-upright
 == ruby-text-combine-upright-001a.html ruby-text-combine-upright-001-ref.html
 == ruby-text-combine-upright-001b.html ruby-text-combine-upright-001-ref.html
 == ruby-text-combine-upright-002a.html ruby-text-combine-upright-002-ref.html
 == ruby-text-combine-upright-002b.html ruby-text-combine-upright-002-ref.html
+
+# Tests for nested ruby
+== nested-ruby-pairing-001.html nested-ruby-pairing-001-ref.html