Bug 1069519 part 1 - Use common.css in previous ruby reftests. r=dholbert
authorXidorn Quan <quanxunzhen@gmail.com>
Thu, 08 Jan 2015 16:02:41 +1100
changeset 248418 a3292d545bea6b9957ce0b1e293524fa816adce9
parent 248417 00996e98fa624e9dc642f95d695814e9be1b6dbd
child 248419 0491510520344b87bf4d035cc8e9c0bdaf372a71
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1069519
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1069519 part 1 - Use common.css in previous ruby reftests. r=dholbert
layout/reftests/css-ruby/ruby-reflow-1-noruby.html
layout/reftests/css-ruby/ruby-reflow-1-opaqueruby.html
layout/reftests/css-ruby/ruby-reflow-1-transparentruby.html
layout/reftests/css-ruby/ruby-whitespace-1-ref.html
layout/reftests/css-ruby/ruby-whitespace-1.html
layout/reftests/css-ruby/ruby-whitespace-2-ref.html
layout/reftests/css-ruby/ruby-whitespace-2.html
--- a/layout/reftests/css-ruby/ruby-reflow-1-noruby.html
+++ b/layout/reftests/css-ruby/ruby-reflow-1-noruby.html
@@ -1,22 +1,14 @@
 <!DOCTYPE html>
 <html style="overflow:hidden;">
 <head>
 <title>CSS Test: Ruby Base Frames Reflowed</title>
 <link rel="author" title="Susanna Bowen" href="mailto:sgbowen8@gmail.com">
 <link rel="help" href="http://www.w3.org/TR/2014/WD-css-ruby-1-20140805/">
 <meta name="assert" content="Test checks that ruby bases are reflowed.">
 <meta charset="UTF-8">
-<style>
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; font-size:50%; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
-</style>
+<link rel="stylesheet" href="common.css">
 </head>
 <body>
 新幹線
 </body>
 </html>
--- a/layout/reftests/css-ruby/ruby-reflow-1-opaqueruby.html
+++ b/layout/reftests/css-ruby/ruby-reflow-1-opaqueruby.html
@@ -1,25 +1,17 @@
 <!DOCTYPE html>
 <html style="overflow:hidden;">
 <head>
 <title>CSS Test: Ruby Text Frames Visible</title>
 <link rel="author" title="Susanna Bowen" href="mailto:sgbowen8@gmail.com">
 <link rel="help" href="http://www.w3.org/TR/2014/WD-css-ruby-1-20140805/">
 <meta name="assert" content="Test checks that ruby text is rendered.">
 <meta charset="UTF-8">
-<style>
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; font-size:50%; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
-</style>
+<link rel="stylesheet" href="common.css">
 </head>
 <body>
 <ruby>
   <rbc><rb>新</rb><rb>幹</rb><rb>線</rb></rbc>
   <rtc><rt>しん</rt><rt>かん</rt><rt>せん</rt></rtc>
 </ruby>
 </body>
 </html>
--- a/layout/reftests/css-ruby/ruby-reflow-1-transparentruby.html
+++ b/layout/reftests/css-ruby/ruby-reflow-1-transparentruby.html
@@ -1,24 +1,19 @@
 <!DOCTYPE html>
 <html style="overflow:hidden;">
 <head>
 <title>CSS Test: Ruby Base Frames Reflowed</title>
 <link rel="author" title="Susanna Bowen" href="mailto:sgbowen8@gmail.com">
 <link rel="help" href="http://www.w3.org/TR/2014/WD-css-ruby-1-20140805/">
 <meta name="assert" content="Test checks that ruby bases are reflowed.">
 <meta charset="UTF-8">
+<link rel="stylesheet" href="common.css">
 <style>
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; font-size:50%; color: transparent; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
+rtc { color: transparent; }
 </style>
 </head>
 <body>
 <ruby>
   <rbc><rb>新</rb><rb>幹</rb><rb>線</rb></rbc>
   <rtc><rt>しん</rt><rt>かん</rt><rt>せん</rt></rtc>
 </ruby>
 </body>
--- a/layout/reftests/css-ruby/ruby-whitespace-1-ref.html
+++ b/layout/reftests/css-ruby/ruby-whitespace-1-ref.html
@@ -1,36 +1,30 @@
 <html>
 <meta charset="UTF-8">
 <head>
+<link rel="stylesheet" href="common.css">
 <style>
 body { line-height: 5em; }
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; font-size: 50%; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
 </style>
 </head>
 <body>
 
 <p>
   <ruby><rbc><rb><span>   </span></rb><rb><span>    </span></rb><rb>Base three</rb></rbc
     ><rtc><rt><span>   </span></rt><rt><span>   </span></rt><rt>Text three</rt></rtc
     ><rtc><rt></rt></rtc
     ><rbc><rb><span>        </span></rb></rbc
     ><rbc><rb>Segment two</rb></rbc
     ><rtc><rt></rt></rtc></ruby>
 </p>
 
 <p>
   <ruby><rbc><rb>Base one</rb><rb><span>  </span></rb><rb>Base three</rb></rbc
-    ><rtc><rt>Text one</rt><rt><span>  </span></rt><rt>Text three</rt></rtc></ruby>
+    ><rtc pseudo><rt>Text one</rt><rt pseudo><span>  </span></rt><rt>Text three</rt></rtc></ruby>
 </p>
 
 <p>
   <ruby><rbc><rb>Segment one</rb></rbc
     ><rbc><rb><span>  </span></rb></rbc
     ><rbc><rb><span>  </span></rb><rb><span>    </span></rb><rb>Base three</rb></rbc
     ><rtc><rt><span>  </span></rt><rt><span>     </span></rt><rt>Text three</rt></rtc
     ><rbc><rb><span>  </span></rb></rbc
--- a/layout/reftests/css-ruby/ruby-whitespace-1.html
+++ b/layout/reftests/css-ruby/ruby-whitespace-1.html
@@ -1,20 +1,14 @@
 <html>
 <meta charset="UTF-8">
 <head>
+<link rel="stylesheet" href="common.css">
 <style>
 body { line-height: 5em; }
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; font-size: 50%; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
 </style>
 </head>
 <body>
 
 <p>
   <ruby>
     <rbc>       <rb>   </rb>    <rb>Base three</rb>   </rbc> 
     <rtc>    <rt>   </rt>   <rt>Text three</rt>   </rtc>    <rtc><rt></rt></rtc>
--- a/layout/reftests/css-ruby/ruby-whitespace-2-ref.html
+++ b/layout/reftests/css-ruby/ruby-whitespace-2-ref.html
@@ -1,28 +1,20 @@
 <!DOCTYPE html>
 <html>
 <meta charset="UTF-8">
 <head>
-<style>
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; font-size: 50%; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
-</style>
+<link rel="stylesheet" href="common.css">
 </head>
 
 <body>
 
 <!-- Unclear how this should render. See http://lists.w3.org/Archives/Public/www-style/2014Jul/0620.html //-->
-abcd<ruby><rbc><rb><span> BASE</span></rb></rbc><rtc><rt>TEXT</rt></rtc></ruby>
+abcd<ruby><rbc><rb><span> BASE</span></rb></rbc><rtc pseudo><rt>TEXT</rt></rtc></ruby>
 
-abcd<ruby><rbc><rb><span>BASE</span></rb></rbc><rtc><rt>TEXT</rt></rtc></ruby>
+abcd<ruby><rbc><rb><span>BASE</span></rb></rbc><rtc pseudo><rt>TEXT</rt></rtc></ruby>
 
-abcd<ruby><rbc><rb><span> BASE</span></rb></rbc><rtc><rt>TEXT</rt></rtc></ruby>
+abcd<ruby><rbc><rb><span> BASE</span></rb></rbc><rtc pseudo><rt>TEXT</rt></rtc></ruby>
 
 <ruby><rbc></rbc></ruby>
 
 </body>
 </html>
--- a/layout/reftests/css-ruby/ruby-whitespace-2.html
+++ b/layout/reftests/css-ruby/ruby-whitespace-2.html
@@ -1,21 +1,13 @@
 <!DOCTYPE html>
 <html>
 <meta charset="UTF-8">
 <head>
-<style>
-ruby { display: ruby; }
-rb   { display: ruby-base; white-space: nowrap; }
-rp   { display: none; }
-rt   { display: ruby-text; white-space: nowrap; font-size: 50%; }
-rbc  { display: ruby-base-container; }
-rtc  { display: ruby-text-container; }
-ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }
-</style>
+<link rel="stylesheet" href="common.css">
 </head>
 
 <body>
 
 abcd<rbc> BASE</rbc><rt>TEXT</rt>
 
 abcd<rbc> <span>BASE</span></rbc><rt>TEXT</rt>