[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.19-706-ge5415e9

rolandsteiner at chromium.org rolandsteiner at chromium.org
Thu Feb 4 21:22:50 UTC 2010


The following commit has been merged in the webkit-1.1 branch:
commit 46ee3a4463d2d3864a3fa1767f0d5e0b0a3ff4c4
Author: rolandsteiner at chromium.org <rolandsteiner at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 21 07:06:12 2010 +0000

    Bug 31865 - Re-do ruby layout tests to use only Latin characters
    (https://bugs.webkit.org/show_bug.cgi?id=31865, first patch)
    
    Reviewed by Eric Seidel.
    
    Re-did pixel layout tests for ruby since non-Latin scripts apparently
    cause issues on other platforms.
    
    * fast/ruby/ruby-empty-rt.html:
    * fast/ruby/ruby-length.html:
    * fast/ruby/ruby-run-break.html:
    * fast/ruby/ruby-runs-spans.html:
    * fast/ruby/ruby-runs.html:
    * fast/ruby/ruby-simple-rp.html:
    * fast/ruby/ruby-simple.html:
    * fast/ruby/ruby-trailing.html:
    * fast/ruby/rubyDOM-insert-rt.html:
    * fast/ruby/rubyDOM-insert-text1.html:
    * fast/ruby/rubyDOM-insert-text2.html:
    * fast/ruby/rubyDOM-insert-text3.html:
    * fast/ruby/rubyDOM-remove-rt1.html:
    * fast/ruby/rubyDOM-remove-rt2.html:
    * fast/ruby/rubyDOM-remove-text1.html:
    * fast/ruby/rubyDOM-remove-text2.html:
    
    * platform/mac/fast/ruby/ruby-empty-rt-expected.checksum:
    * platform/mac/fast/ruby/ruby-empty-rt-expected.png:
    * platform/mac/fast/ruby/ruby-empty-rt-expected.txt:
    * platform/mac/fast/ruby/ruby-length-expected.checksum:
    * platform/mac/fast/ruby/ruby-length-expected.png:
    * platform/mac/fast/ruby/ruby-length-expected.txt:
    * platform/mac/fast/ruby/ruby-run-break-expected.checksum:
    * platform/mac/fast/ruby/ruby-run-break-expected.png:
    * platform/mac/fast/ruby/ruby-run-break-expected.txt:
    * platform/mac/fast/ruby/ruby-runs-expected.checksum:
    * platform/mac/fast/ruby/ruby-runs-expected.png:
    * platform/mac/fast/ruby/ruby-runs-expected.txt:
    * platform/mac/fast/ruby/ruby-runs-spans-expected.checksum:
    * platform/mac/fast/ruby/ruby-runs-spans-expected.png:
    * platform/mac/fast/ruby/ruby-runs-spans-expected.txt:
    * platform/mac/fast/ruby/ruby-simple-expected.checksum:
    * platform/mac/fast/ruby/ruby-simple-expected.png:
    * platform/mac/fast/ruby/ruby-simple-expected.txt:
    * platform/mac/fast/ruby/ruby-simple-rp-expected.checksum:
    * platform/mac/fast/ruby/ruby-simple-rp-expected.png:
    * platform/mac/fast/ruby/ruby-simple-rp-expected.txt:
    * platform/mac/fast/ruby/ruby-trailing-expected.checksum:
    * platform/mac/fast/ruby/ruby-trailing-expected.png:
    * platform/mac/fast/ruby/ruby-trailing-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png:
    * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png:
    * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png:
    * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png:
    * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png:
    * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png:
    * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png:
    * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt:
    * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.checksum:
    * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.png:
    * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53605 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index c7eb807..e91244d 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,79 @@
+2010-01-21  Roland Steiner  <rolandsteiner at chromium.org>
+
+        Reviewed by Eric Seidel.
+
+        Bug 31865 - Re-do ruby layout tests to use only Latin characters
+        (https://bugs.webkit.org/show_bug.cgi?id=31865, first patch)
+
+        Re-did pixel layout tests for ruby since non-Latin scripts apparently
+        cause issues on other platforms.
+        
+        * fast/ruby/ruby-empty-rt.html:
+        * fast/ruby/ruby-length.html:
+        * fast/ruby/ruby-run-break.html:
+        * fast/ruby/ruby-runs-spans.html:
+        * fast/ruby/ruby-runs.html:
+        * fast/ruby/ruby-simple-rp.html:
+        * fast/ruby/ruby-simple.html:
+        * fast/ruby/ruby-trailing.html:
+        * fast/ruby/rubyDOM-insert-rt.html:
+        * fast/ruby/rubyDOM-insert-text1.html:
+        * fast/ruby/rubyDOM-insert-text2.html:
+        * fast/ruby/rubyDOM-insert-text3.html:
+        * fast/ruby/rubyDOM-remove-rt1.html:
+        * fast/ruby/rubyDOM-remove-rt2.html:
+        * fast/ruby/rubyDOM-remove-text1.html:
+        * fast/ruby/rubyDOM-remove-text2.html:
+
+        * platform/mac/fast/ruby/ruby-empty-rt-expected.checksum:
+        * platform/mac/fast/ruby/ruby-empty-rt-expected.png:
+        * platform/mac/fast/ruby/ruby-empty-rt-expected.txt:
+        * platform/mac/fast/ruby/ruby-length-expected.checksum:
+        * platform/mac/fast/ruby/ruby-length-expected.png:
+        * platform/mac/fast/ruby/ruby-length-expected.txt:
+        * platform/mac/fast/ruby/ruby-run-break-expected.checksum:
+        * platform/mac/fast/ruby/ruby-run-break-expected.png:
+        * platform/mac/fast/ruby/ruby-run-break-expected.txt:
+        * platform/mac/fast/ruby/ruby-runs-expected.checksum:
+        * platform/mac/fast/ruby/ruby-runs-expected.png:
+        * platform/mac/fast/ruby/ruby-runs-expected.txt:
+        * platform/mac/fast/ruby/ruby-runs-spans-expected.checksum:
+        * platform/mac/fast/ruby/ruby-runs-spans-expected.png:
+        * platform/mac/fast/ruby/ruby-runs-spans-expected.txt:
+        * platform/mac/fast/ruby/ruby-simple-expected.checksum:
+        * platform/mac/fast/ruby/ruby-simple-expected.png:
+        * platform/mac/fast/ruby/ruby-simple-expected.txt:
+        * platform/mac/fast/ruby/ruby-simple-rp-expected.checksum:
+        * platform/mac/fast/ruby/ruby-simple-rp-expected.png:
+        * platform/mac/fast/ruby/ruby-simple-rp-expected.txt:
+        * platform/mac/fast/ruby/ruby-trailing-expected.checksum:
+        * platform/mac/fast/ruby/ruby-trailing-expected.png:
+        * platform/mac/fast/ruby/ruby-trailing-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt:
+        * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.checksum:
+        * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.png:
+        * platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt:
+
 2010-01-20  Eric Seidel  <eric at webkit.org>
 
         Reviewed by David Levin.
diff --git a/LayoutTests/fast/ruby/ruby-empty-rt.html b/LayoutTests/fast/ruby/ruby-empty-rt.html
index 9eb9b6c..25a557d 100644
--- a/LayoutTests/fast/ruby/ruby-empty-rt.html
+++ b/LayoutTests/fast/ruby/ruby-empty-rt.html
@@ -6,6 +6,6 @@
 <p>The following is a test for having a &lt;rt&gt; immediately following another.</p>
 <br>
 <br>
-<p>準太郎は<ruby>東京<rt>とうきょう</rt>工業大学<rt>こうぎょう</rt><rt>だいがく</rt></ruby>から卒業しました。
+<p>&lt;ruby&gt; uses <ruby>&lt;rt&gt;<rt>ruby</rt><rt>text</rt></ruby> to contain the annotation.
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/ruby-length.html b/LayoutTests/fast/ruby/ruby-length.html
index f2a35dd..120b4a9 100644
--- a/LayoutTests/fast/ruby/ruby-length.html
+++ b/LayoutTests/fast/ruby/ruby-length.html
@@ -8,5 +8,5 @@ There should be 2 ruby annotations on below line, one with a ruby text shorter t
 and one with a ruby text longer than the base.
 <br>
 <br>
-CSS3/HTML5のルビは<ruby>日本語<rt>Japanese Langauge</rt></ruby>によく<ruby>使われて<rt>used</rt></ruby>います。
+&lt;ruby&gt; is defined in the <ruby>Hypertext Markup Language<rt>HTML5</rt></ruby> and <ruby>CSS3<rt>Cascading Style Sheets</rt></ruby> specs.
 </body>
diff --git a/LayoutTests/fast/ruby/ruby-run-break.html b/LayoutTests/fast/ruby/ruby-run-break.html
index cc78933..3db0a4d 100644
--- a/LayoutTests/fast/ruby/ruby-run-break.html
+++ b/LayoutTests/fast/ruby/ruby-run-break.html
@@ -7,6 +7,6 @@ Part of it should be on the first line, the rest on the other line.
 <br>
 <br>
 <div style="border: 2px solid blue; padding: 10px; width:260px;">
-CSS3/HTML5のルビは<ruby>日<rt>に</rt>本<rt>ほん</rt>語<rt>ご</rt></ruby>によく使われています。
+&lt;ruby&gt; is defined in the <ruby>H<rt>Hyper</rt>T<rt>Text</rt>M<rt>Markup</rt>L<rt>Language</rt>5<rt>Level 5</rt></ruby> specs.
 </div>
 </body>
diff --git a/LayoutTests/fast/ruby/ruby-runs-spans.html b/LayoutTests/fast/ruby/ruby-runs-spans.html
index 1b3e4b9..d4ccdd7 100644
--- a/LayoutTests/fast/ruby/ruby-runs-spans.html
+++ b/LayoutTests/fast/ruby/ruby-runs-spans.html
@@ -4,6 +4,6 @@
 </head>
 <body>
 <p>The following is a test for having non-text inline elements as base in a &lt;ruby&gt;.</p>
-<p>準太郎は<ruby><span id="T">東京</span><rt>とうきょう</rt><span id="K">工業</span><span id="D">大学</span><rt>こうぎょうだいがく</rt></ruby>から卒業しました。
+<p>&lt;ruby&gt; is defined in the <ruby><span>HT</span><rt>Hyper-text</rt><span>M</span><span>L</span><span>5</span><rt>Markup Language Lvl. 5</rt></ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/ruby-runs.html b/LayoutTests/fast/ruby/ruby-runs.html
index b433d87..3746085 100644
--- a/LayoutTests/fast/ruby/ruby-runs.html
+++ b/LayoutTests/fast/ruby/ruby-runs.html
@@ -6,5 +6,5 @@
 This is a test for multiple ruby runs.
 <br>
 <br>
-CSS3/HTML5のルビは<ruby>日<rt>に</rt>本<rt>ほん</rt>語<rt>ご</rt></ruby>によく使われています。
+<p>&lt;ruby&gt; is defined in the <ruby>H<rt>Hyper</rt>T<rt>Text</rt>M<rt>Markup</rt>L<rt>Language</rt>5<rt>Level 5</rt></ruby> specs.</p>
 </body>
diff --git a/LayoutTests/fast/ruby/ruby-simple-rp.html b/LayoutTests/fast/ruby/ruby-simple-rp.html
index 5392a97..0bcd8bd 100644
--- a/LayoutTests/fast/ruby/ruby-simple-rp.html
+++ b/LayoutTests/fast/ruby/ruby-simple-rp.html
@@ -7,5 +7,5 @@ This is a test for simple ruby that contains &lt;rp&gt; tags.
 Contents of the &lt;rp&gt; tags (opening and closing brackets) should not show when ruby is suppoorted.
 <br>
 <br>
-CSS3/HTML5のルビは<ruby>日本語<rp>(</rp><rt>にほんご</rt><rp>)</rp></ruby>によく使われています。
+<p>Ruby is often used in the <ruby>Japanese language<rp>(jp:&nbsp;</rp><rt>Nihongo</rt><rp>)</rp></ruby>.</p>
 </body>
diff --git a/LayoutTests/fast/ruby/ruby-simple.html b/LayoutTests/fast/ruby/ruby-simple.html
index 5e6a4e6..efe8127 100644
--- a/LayoutTests/fast/ruby/ruby-simple.html
+++ b/LayoutTests/fast/ruby/ruby-simple.html
@@ -6,5 +6,5 @@
 This is a initial test for simple ruby.
 <br>
 <br>
-CSS3/HTML5のルビは<ruby>日本語<rt>にほんご</rt></ruby>によく使われています。
+<p>Ruby is often used in the <ruby>Japanese language<rt>Nihongo</rt></ruby>.</p>
 </body>
diff --git a/LayoutTests/fast/ruby/ruby-trailing.html b/LayoutTests/fast/ruby/ruby-trailing.html
index 95b51d2..63e9fbd 100644
--- a/LayoutTests/fast/ruby/ruby-trailing.html
+++ b/LayoutTests/fast/ruby/ruby-trailing.html
@@ -6,6 +6,6 @@
 <p>The following is a test for having a trailing base within a &lt;ruby&gt; with no associated ruby text.</p>
 <br>
 <br>
-<p>準太郎は<ruby>東京<rt>とうきょう</rt>工業<rt>こうぎょう</rt>大学</ruby>から卒業しました。
+<p>&lt;ruby&gt; is defined in the <ruby>HTML<rt>Hyper-text Markup Language</rt>5</ruby>.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-insert-rt.html b/LayoutTests/fast/ruby/rubyDOM-insert-rt.html
index 82e7fd5..d9f918b 100644
--- a/LayoutTests/fast/ruby/rubyDOM-insert-rt.html
+++ b/LayoutTests/fast/ruby/rubyDOM-insert-rt.html
@@ -5,9 +5,9 @@
 function test()
 {
     var ruby = document.getElementById('R');
-    var span = document.getElementById('D');
+    var span = document.getElementById('ML');
     var newRT = document.createElement('rt');
-    var newRTText = document.createTextNode('こうぎょう');
+    var newRTText = document.createTextNode('Hyper-text');
     newRT.appendChild(newRTText);
     ruby.insertBefore(newRT, span);    
 }
@@ -18,7 +18,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="R"><span id="T">東京</span><rt>とうきょう</rt><span id="K">工業</span><span id="D">大学</span><rt>だいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby><span>東京</span><rt>とうきょう</rt><span>工業</span><rt>こうぎょう</rt><span>大学</span><rt>だいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R"><span>HT</span><span id="ML">ML</span><rt>Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby><span>HT</span><rt>Hyper-text</rt><span>ML</span><rt>Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-insert-text1.html b/LayoutTests/fast/ruby/rubyDOM-insert-text1.html
index ea238fb..18c12fe 100644
--- a/LayoutTests/fast/ruby/rubyDOM-insert-text1.html
+++ b/LayoutTests/fast/ruby/rubyDOM-insert-text1.html
@@ -4,9 +4,9 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var rt = document.getElementById('rt');
-    var newText = document.createTextNode('工業');
+    var ruby = document.getElementById('R');
+    var rt = document.getElementById('RT');
+    var newText = document.createTextNode('ML');
     ruby.insertBefore(newText, rt);    
 }
 </script>
@@ -16,7 +16,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r"><span>東京</span><rt>とうきょう</rt><rt id="rt">こうぎょう</rt><span>大学</span><rt>だいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby><span>東京</span><rt>とうきょう</rt>工業<rt>こうぎょう</rt><span>大学</span><rt>だいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R">HT<rt>Hyper-text</rt><rt id="RT">Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby>HT<rt>Hyper-text</rt>ML<rt>Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-insert-text2.html b/LayoutTests/fast/ruby/rubyDOM-insert-text2.html
index 9c9a0f3..12426b2 100644
--- a/LayoutTests/fast/ruby/rubyDOM-insert-text2.html
+++ b/LayoutTests/fast/ruby/rubyDOM-insert-text2.html
@@ -4,9 +4,9 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var rt = document.getElementById('rt');
-    var newText = document.createTextNode('大学');
+    var ruby = document.getElementById('R');
+    var rt = document.getElementById('RT');
+    var newText = document.createTextNode('ML');
     ruby.insertBefore(newText, rt);    
 }
 </script>
@@ -16,7 +16,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r"><span>工業</span><rt id="rt">こうぎょうだいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby><span>工業</span>大学<rt>こうぎょうだいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R"><span>HT</span><rt id="RT">Hyper-text Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby>HTML<span></span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-insert-text3.html b/LayoutTests/fast/ruby/rubyDOM-insert-text3.html
index 17226ca..b1714f1 100644
--- a/LayoutTests/fast/ruby/rubyDOM-insert-text3.html
+++ b/LayoutTests/fast/ruby/rubyDOM-insert-text3.html
@@ -4,10 +4,10 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var text = document.getElementById('t');
-    var newText = document.createTextNode('工業');
-    ruby.insertBefore(newText, t);    
+    var ruby = document.getElementById('R');
+    var text = document.getElementById('ML');
+    var newText = document.createTextNode('HT');
+    ruby.insertBefore(newText, text);    
 }
 </script>
 </head>
@@ -16,7 +16,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r"><span id="t">大学</span><rt>こうぎょうだいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby>工業<span>大学</span><rt>こうぎょうだいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R"><span id="ML">ML</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby>HT<span>ML</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-remove-rt1.html b/LayoutTests/fast/ruby/rubyDOM-remove-rt1.html
index 2a05bfd..01823c2 100644
--- a/LayoutTests/fast/ruby/rubyDOM-remove-rt1.html
+++ b/LayoutTests/fast/ruby/rubyDOM-remove-rt1.html
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var k = document.getElementById('rt');
+    var ruby = document.getElementById('R');
+    var rt = document.getElementById('RT');
     ruby.removeChild(rt);    
 }
 </script>
@@ -15,7 +15,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r">工業<rt>こうぎょう</rt>大学<rt id="rt">Shouldn't show</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby>工業<rt>こうぎょう</rt>大学</ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R">HTML<rt>Hyper-text Markup Language</rt>5<rt id="RT" style="color:red">SHOULDN'T SHOW!</rt></ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby>HTML<rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-remove-rt2.html b/LayoutTests/fast/ruby/rubyDOM-remove-rt2.html
index 15c6640..58700a5 100644
--- a/LayoutTests/fast/ruby/rubyDOM-remove-rt2.html
+++ b/LayoutTests/fast/ruby/rubyDOM-remove-rt2.html
@@ -4,18 +4,18 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var k = document.getElementById('rt');
+    var ruby = document.getElementById('R');
+    var rt = document.getElementById('RT');
     ruby.removeChild(rt);    
 }
 </script>
 </head>
 <body onload="test()">
-<p>The following is a test for DOM manipulation within &lt;ruby&gt;: Removing the last &lt;rt&gt;, forcing a merge with the right neighbour run</p>
+<p>The following is a test for DOM manipulation within &lt;ruby&gt;: Removing a &lt;rt&gt;, forcing a merge with the right neighbour run</p>
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r">工業<rt id="rt">Shouldn't show</rt>大学<rt>こうぎょうだいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby>工業大学<rt>こうぎょうだいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R">HT<rt id="RT" style="color:red">SHOULDN'T SHOW!</rt>ML<rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby>HTML<rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-remove-text1.html b/LayoutTests/fast/ruby/rubyDOM-remove-text1.html
index 3e822c8..b4303b1 100644
--- a/LayoutTests/fast/ruby/rubyDOM-remove-text1.html
+++ b/LayoutTests/fast/ruby/rubyDOM-remove-text1.html
@@ -4,9 +4,9 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var k = document.getElementById('k');
-    ruby.removeChild(k);    
+    var ruby = document.getElementById('R');
+    var s = document.getElementById('S');
+    ruby.removeChild(s);    
 }
 </script>
 </head>
@@ -15,7 +15,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r"><span id="k">工業</span><span>大学</span><rt>だいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby><span>大学</span><rt>だいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R"><span>HTML</span><span id="S" style="color:red">SHOULDN'T SHOW!</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby><span>HTML</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/fast/ruby/rubyDOM-remove-text2.html b/LayoutTests/fast/ruby/rubyDOM-remove-text2.html
index fcda536..b715f04 100644
--- a/LayoutTests/fast/ruby/rubyDOM-remove-text2.html
+++ b/LayoutTests/fast/ruby/rubyDOM-remove-text2.html
@@ -4,9 +4,9 @@
 <script>
 function test()
 {
-    var ruby = document.getElementById('r');
-    var k = document.getElementById('k');
-    ruby.removeChild(k);    
+    var ruby = document.getElementById('R');
+    var s = document.getElementById('S');
+    ruby.removeChild(s);    
 }
 </script>
 </head>
@@ -15,7 +15,7 @@ function test()
 <p>Both lines should look identical (the first line is the one manipulated).</p>
 <br>
 <br>
-<p>準太郎は<ruby id="r"><span id="k">工業</span><rt>だいがく</rt></ruby>から卒業しました。</p>
-<p>準太郎は<ruby><rt>だいがく</rt></ruby>から卒業しました。</p>
+<p>&lt;ruby&gt; is defined in the <ruby id="R"><span id="S" style="color:red">SHOULDN'T SHOW!</span><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
+<p>&lt;ruby&gt; is defined in the <ruby><rt>Hyper-text Markup Language</rt>5</ruby> spec.</p>
 </body>
 </html>
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.checksum
index 82290c0..7f6e069 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.checksum
@@ -1 +1 @@
-a492ba3222a57c03f379905ccc3412a3
\ No newline at end of file
+d98fbf4561ffbed5063c5185a07efc0b
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.png
index 332764f..ded9a93 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.txt
index ad5a3dd..7f487dc 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-empty-rt-expected.txt
@@ -9,29 +9,22 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,34) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,86) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 154x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 64x34
-            RenderRubyText {RT} at (0,0) size 64x13
-              RenderText {#text} at (7,0) size 50x13
-                text run at (7,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 64x21
-              RenderText {#text} at (0,3) size 64x18
-                text run at (0,3) width 64: "\x{5DE5}\x{696D}\x{5927}\x{5B66}"
-          RenderRubyRun (anonymous) at (178,20) size 40x13
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-        RenderText {#text} at (218,16) size 144x18
-          text run at (218,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,86) size 784x31
+        RenderText {#text} at (0,13) size 82x18
+          text run at (0,13) width 82: "<ruby> uses "
+        RenderRuby (inline) {RUBY} at (0,0) size 42x18
+          RenderRubyRun (anonymous) at (82,0) size 27x31
+            RenderRubyText {RT} at (0,0) size 27x13
+              RenderText {#text} at (4,0) size 18x13
+                text run at (4,0) width 18: "ruby"
+            RenderRubyBase (anonymous) at (0,13) size 27x18
+              RenderText {#text} at (0,0) size 27x18
+                text run at (0,0) width 27: "<rt>"
+          RenderRubyRun (anonymous) at (109,17) size 15x13
+            RenderRubyText {RT} at (0,0) size 15x13
+              RenderText {#text} at (0,0) size 15x13
+                text run at (0,0) width 15: "text"
+        RenderText {#text} at (124,13) size 163x18
+          text run at (124,13) width 163: " to contain the annotation."
         RenderText {#text} at (0,0) size 0x0
         RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.checksum
index 5fa98e3..106c38a 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.checksum
@@ -1 +1 @@
-63f9665a223923d314bac8b94fec0553
\ No newline at end of file
+e4ef1b4754f6b629df76dd1c33471b41
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.png
index 6e51a3a..20f1eb2 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.txt
index db475f9..925c6fa 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-length-expected.txt
@@ -9,26 +9,26 @@ layer at (0,0) size 800x600
         text run at (36,18) width 291: "and one with a ruby text longer than the base. "
       RenderBR {BR} at (327,32) size 0x0
       RenderBR {BR} at (0,36) size 0x18
-      RenderText {#text} at (0,70) size 224x18
-        text run at (0,70) width 224: "\x{FF23}\x{FF33}\x{FF33}\x{FF13}\x{FF0F}\x{FF28}\x{FF34}\x{FF2D}\x{FF2C}\x{FF15}\x{306E}\x{30EB}\x{30D3}\x{306F}"
-      RenderRuby (inline) {RUBY} at (0,0) size 75x18
-        RenderRubyRun (anonymous) at (224,54) size 75x34
-          RenderRubyText {RT} at (0,0) size 75x13
-            RenderText {#text} at (0,0) size 75x13
-              text run at (0,0) width 75: "Japanese Langauge"
-          RenderRubyBase (anonymous) at (0,13) size 75x21
-            RenderText {#text} at (13,3) size 48x18
-              text run at (13,3) width 48: "\x{65E5}\x{672C}\x{8A9E}"
-      RenderText {#text} at (299,70) size 48x18
-        text run at (299,70) width 48: "\x{306B}\x{3088}\x{304F}"
-      RenderRuby (inline) {RUBY} at (0,0) size 64x18
-        RenderRubyRun (anonymous) at (347,54) size 64x34
-          RenderRubyText {RT} at (0,0) size 64x13
-            RenderText {#text} at (23,0) size 18x13
-              text run at (23,0) width 18: "used"
-          RenderRubyBase (anonymous) at (0,13) size 64x21
-            RenderText {#text} at (0,3) size 64x18
-              text run at (0,3) width 64: "\x{4F7F}\x{308F}\x{308C}\x{3066}"
-      RenderText {#text} at (411,70) size 64x18
-        text run at (411,70) width 64: "\x{3044}\x{307E}\x{3059}\x{3002}"
+      RenderText {#text} at (0,67) size 155x18
+        text run at (0,67) width 155: "<ruby> is defined in the "
+      RenderRuby (inline) {RUBY} at (0,0) size 184x18
+        RenderRubyRun (anonymous) at (155,54) size 184x31
+          RenderRubyText {RT} at (0,0) size 184x13
+            RenderText {#text} at (75,0) size 33x13
+              text run at (75,0) width 33: "HTML5"
+          RenderRubyBase (anonymous) at (0,13) size 184x18
+            RenderText {#text} at (0,0) size 184x18
+              text run at (0,0) width 184: "Hypertext Markup Language"
+      RenderText {#text} at (339,67) size 31x18
+        text run at (339,67) width 31: " and "
+      RenderRuby (inline) {RUBY} at (0,0) size 94x18
+        RenderRubyRun (anonymous) at (370,54) size 94x31
+          RenderRubyText {RT} at (0,0) size 94x13
+            RenderText {#text} at (0,0) size 94x13
+              text run at (0,0) width 94: "Cascading Style Sheets"
+          RenderRubyBase (anonymous) at (0,13) size 94x18
+            RenderText {#text} at (28,0) size 37x18
+              text run at (28,0) width 37: "CSS3"
+      RenderText {#text} at (464,67) size 42x18
+        text run at (464,67) width 42: " specs."
       RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.checksum
index bd7757d..42bb1c8 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.checksum
@@ -1 +1 @@
-c82d6ae5089953b06ffbe9192a6ef0ac
\ No newline at end of file
+f7fbebd351470a70f95f90a36982fcef
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.png
index 5f6a481..d890afe 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.txt
index c56a495..36acd17 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.txt
@@ -11,30 +11,44 @@ layer at (0,0) size 800x600
           text run at (0,36) width 110: "on the other line. "
         RenderBR {BR} at (110,50) size 0x0
         RenderBR {BR} at (0,54) size 0x18
-      RenderBlock {DIV} at (0,72) size 284x92 [border: (2px solid #0000FF)]
-        RenderText {#text} at (12,28) size 224x18
-          text run at (12,28) width 224: "\x{FF23}\x{FF33}\x{FF33}\x{FF13}\x{FF0F}\x{FF28}\x{FF34}\x{FF2D}\x{FF2C}\x{FF15}\x{306E}\x{30EB}\x{30D3}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 260x52
-          RenderRubyRun (anonymous) at (236,12) size 16x34
-            RenderRubyText {RT} at (0,0) size 16x13
-              RenderText {#text} at (3,0) size 10x13
-                text run at (3,0) width 10: "\x{306B}"
-            RenderRubyBase (anonymous) at (0,13) size 16x21
-              RenderText {#text} at (0,3) size 16x18
-                text run at (0,3) width 16: "\x{65E5}"
-          RenderRubyRun (anonymous) at (252,12) size 20x34
-            RenderRubyText {RT} at (0,0) size 20x13
-              RenderText {#text} at (0,0) size 20x13
-                text run at (0,0) width 20: "\x{307B}\x{3093}"
-            RenderRubyBase (anonymous) at (0,13) size 20x21
-              RenderText {#text} at (2,3) size 16x18
-                text run at (2,3) width 16: "\x{672C}"
-          RenderRubyRun (anonymous) at (12,46) size 16x34
-            RenderRubyText {RT} at (0,0) size 16x13
-              RenderText {#text} at (3,0) size 10x13
-                text run at (3,0) width 10: "\x{3054}"
-            RenderRubyBase (anonymous) at (0,13) size 16x21
-              RenderText {#text} at (0,3) size 16x18
-                text run at (0,3) width 16: "\x{8A9E}"
-        RenderText {#text} at (28,62) size 176x18
-          text run at (28,62) width 176: "\x{306B}\x{3088}\x{304F}\x{4F7F}\x{308F}\x{308C}\x{3066}\x{3044}\x{307E}\x{3059}\x{3002}"
+      RenderBlock {DIV} at (0,72) size 284x86 [border: (2px solid #0000FF)]
+        RenderText {#text} at (12,25) size 155x18
+          text run at (12,25) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 228x49
+          RenderRubyRun (anonymous) at (167,12) size 24x31
+            RenderRubyText {RT} at (0,0) size 24x13
+              RenderText {#text} at (0,0) size 24x13
+                text run at (0,0) width 24: "Hyper"
+            RenderRubyBase (anonymous) at (0,13) size 24x18
+              RenderText {#text} at (6,0) size 12x18
+                text run at (6,0) width 12: "H"
+          RenderRubyRun (anonymous) at (191,12) size 18x31
+            RenderRubyText {RT} at (0,0) size 18x13
+              RenderText {#text} at (0,0) size 18x13
+                text run at (0,0) width 18: "Text"
+            RenderRubyBase (anonymous) at (0,13) size 18x18
+              RenderText {#text} at (4,0) size 10x18
+                text run at (4,0) width 10: "T"
+          RenderRubyRun (anonymous) at (209,12) size 31x31
+            RenderRubyText {RT} at (0,0) size 31x13
+              RenderText {#text} at (0,0) size 31x13
+                text run at (0,0) width 31: "Markup"
+            RenderRubyBase (anonymous) at (0,13) size 31x18
+              RenderText {#text} at (8,0) size 14x18
+                text run at (8,0) width 14: "M"
+          RenderRubyRun (anonymous) at (12,43) size 38x31
+            RenderRubyText {RT} at (0,0) size 38x13
+              RenderText {#text} at (0,0) size 38x13
+                text run at (0,0) width 38: "Language"
+            RenderRubyBase (anonymous) at (0,13) size 38x18
+              RenderText {#text} at (14,0) size 10x18
+                text run at (14,0) width 10: "L"
+          RenderRubyRun (anonymous) at (50,43) size 30x31
+            RenderRubyText {RT} at (0,0) size 30x13
+              RenderText {#text} at (0,0) size 30x13
+                text run at (0,0) width 30: "Level 5"
+            RenderRubyBase (anonymous) at (0,13) size 30x18
+              RenderText {#text} at (11,0) size 8x18
+                text run at (11,0) width 8: "5"
+        RenderText {#text} at (80,56) size 42x18
+          text run at (80,56) width 42: " specs."
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.checksum
index 4589665..f8260a3 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.checksum
@@ -1 +1 @@
-d450ca2b41bb5d18e310feeed6ce03a6
\ No newline at end of file
+29b3ea1ec0dd765356d322c05f3ef02f
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.png
index 7145ce0..c25dbfd 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.txt
index 6a51465..705fb83 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.txt
@@ -2,35 +2,50 @@ layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderText {#text} at (0,0) size 227x18
-        text run at (0,0) width 227: "This is a test for multiple ruby runs. "
-      RenderBR {BR} at (227,14) size 0x0
-      RenderBR {BR} at (0,18) size 0x18
-      RenderText {#text} at (0,52) size 224x18
-        text run at (0,52) width 224: "\x{FF23}\x{FF33}\x{FF33}\x{FF13}\x{FF0F}\x{FF28}\x{FF34}\x{FF2D}\x{FF2C}\x{FF15}\x{306E}\x{30EB}\x{30D3}\x{306F}"
-      RenderRuby (inline) {RUBY} at (0,0) size 52x18
-        RenderRubyRun (anonymous) at (224,36) size 16x34
-          RenderRubyText {RT} at (0,0) size 16x13
-            RenderText {#text} at (3,0) size 10x13
-              text run at (3,0) width 10: "\x{306B}"
-          RenderRubyBase (anonymous) at (0,13) size 16x21
-            RenderText {#text} at (0,3) size 16x18
-              text run at (0,3) width 16: "\x{65E5}"
-        RenderRubyRun (anonymous) at (240,36) size 20x34
-          RenderRubyText {RT} at (0,0) size 20x13
-            RenderText {#text} at (0,0) size 20x13
-              text run at (0,0) width 20: "\x{307B}\x{3093}"
-          RenderRubyBase (anonymous) at (0,13) size 20x21
-            RenderText {#text} at (2,3) size 16x18
-              text run at (2,3) width 16: "\x{672C}"
-        RenderRubyRun (anonymous) at (260,36) size 16x34
-          RenderRubyText {RT} at (0,0) size 16x13
-            RenderText {#text} at (3,0) size 10x13
-              text run at (3,0) width 10: "\x{3054}"
-          RenderRubyBase (anonymous) at (0,13) size 16x21
-            RenderText {#text} at (0,3) size 16x18
-              text run at (0,3) width 16: "\x{8A9E}"
-      RenderText {#text} at (276,52) size 176x18
-        text run at (276,52) width 176: "\x{306B}\x{3088}\x{304F}\x{4F7F}\x{308F}\x{308C}\x{3066}\x{3044}\x{307E}\x{3059}\x{3002}"
-      RenderText {#text} at (0,0) size 0x0
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock (anonymous) at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 227x18
+          text run at (0,0) width 227: "This is a test for multiple ruby runs. "
+        RenderBR {BR} at (227,14) size 0x0
+        RenderBR {BR} at (0,18) size 0x18
+      RenderBlock {P} at (0,52) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 141x18
+          RenderRubyRun (anonymous) at (155,0) size 24x31
+            RenderRubyText {RT} at (0,0) size 24x13
+              RenderText {#text} at (0,0) size 24x13
+                text run at (0,0) width 24: "Hyper"
+            RenderRubyBase (anonymous) at (0,13) size 24x18
+              RenderText {#text} at (6,0) size 12x18
+                text run at (6,0) width 12: "H"
+          RenderRubyRun (anonymous) at (179,0) size 18x31
+            RenderRubyText {RT} at (0,0) size 18x13
+              RenderText {#text} at (0,0) size 18x13
+                text run at (0,0) width 18: "Text"
+            RenderRubyBase (anonymous) at (0,13) size 18x18
+              RenderText {#text} at (4,0) size 10x18
+                text run at (4,0) width 10: "T"
+          RenderRubyRun (anonymous) at (197,0) size 31x31
+            RenderRubyText {RT} at (0,0) size 31x13
+              RenderText {#text} at (0,0) size 31x13
+                text run at (0,0) width 31: "Markup"
+            RenderRubyBase (anonymous) at (0,13) size 31x18
+              RenderText {#text} at (8,0) size 14x18
+                text run at (8,0) width 14: "M"
+          RenderRubyRun (anonymous) at (228,0) size 38x31
+            RenderRubyText {RT} at (0,0) size 38x13
+              RenderText {#text} at (0,0) size 38x13
+                text run at (0,0) width 38: "Language"
+            RenderRubyBase (anonymous) at (0,13) size 38x18
+              RenderText {#text} at (14,0) size 10x18
+                text run at (14,0) width 10: "L"
+          RenderRubyRun (anonymous) at (266,0) size 30x31
+            RenderRubyText {RT} at (0,0) size 30x13
+              RenderText {#text} at (0,0) size 30x13
+                text run at (0,0) width 30: "Level 5"
+            RenderRubyBase (anonymous) at (0,13) size 30x18
+              RenderText {#text} at (11,0) size 8x18
+                text run at (11,0) width 8: "5"
+        RenderText {#text} at (296,13) size 42x18
+          text run at (296,13) width 42: " specs."
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.checksum
index ea19f10..a27ed7a 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.checksum
@@ -1 +1 @@
-8fb93a7db98c47b3c77a8407dd2e2dfb
\ No newline at end of file
+e45d9bddb54b5f9fc401e971cab2206f
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.png
index d8c420d..abbb386 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.txt
index c02e466..751d568 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.txt
@@ -6,30 +6,31 @@ layer at (0,0) size 800x600
       RenderBlock {P} at (0,0) size 784x18
         RenderText {#text} at (0,0) size 494x18
           text run at (0,0) width 494: "The following is a test for having non-text inline elements as base in a <ruby>."
-      RenderBlock {P} at (0,34) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 140x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (13,3) size 32x18
-                  text run at (13,3) width 32: "\x{5DE5}\x{696D}"
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (45,3) size 32x18
-                  text run at (45,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (204,16) size 144x18
-          text run at (204,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-        RenderText {#text} at (0,0) size 0x0
-        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,34) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 142x18
+          RenderRubyRun (anonymous) at (155,0) size 42x31
+            RenderRubyText {RT} at (0,0) size 42x13
+              RenderText {#text} at (0,0) size 42x13
+                text run at (0,0) width 42: "Hyper-text"
+            RenderRubyBase (anonymous) at (0,13) size 42x18
+              RenderInline {SPAN} at (0,0) size 22x18
+                RenderText {#text} at (10,0) size 22x18
+                  text run at (10,0) width 22: "HT"
+          RenderRubyRun (anonymous) at (197,0) size 100x31
+            RenderRubyText {RT} at (0,0) size 100x13
+              RenderText {#text} at (0,0) size 100x13
+                text run at (0,0) width 100: "Markup Language Lvl. 5"
+            RenderRubyBase (anonymous) at (0,13) size 100x18
+              RenderInline {SPAN} at (0,0) size 14x18
+                RenderText {#text} at (34,0) size 14x18
+                  text run at (34,0) width 14: "M"
+              RenderInline {SPAN} at (0,0) size 10x18
+                RenderText {#text} at (48,0) size 10x18
+                  text run at (48,0) width 10: "L"
+              RenderInline {SPAN} at (0,0) size 8x18
+                RenderText {#text} at (58,0) size 8x18
+                  text run at (58,0) width 8: "5"
+        RenderText {#text} at (297,13) size 36x18
+          text run at (297,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.checksum
index 9c47d91..cc98387 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.checksum
@@ -1 +1 @@
-148ad4f98a7821aea551fd8b32ed8276
\ No newline at end of file
+0924a17d7ca8891b17600d142b0b63d6
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.png
index 0098a1f..87f54f1 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.txt
index 71eeb6a..f9bddc6 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-simple-expected.txt
@@ -2,21 +2,22 @@ layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderText {#text} at (0,0) size 225x18
-        text run at (0,0) width 225: "This is a initial test for simple ruby. "
-      RenderBR {BR} at (225,14) size 0x0
-      RenderBR {BR} at (0,18) size 0x18
-      RenderText {#text} at (0,52) size 224x18
-        text run at (0,52) width 224: "\x{FF23}\x{FF33}\x{FF33}\x{FF13}\x{FF0F}\x{FF28}\x{FF34}\x{FF2D}\x{FF2C}\x{FF15}\x{306E}\x{30EB}\x{30D3}\x{306F}"
-      RenderRuby (inline) {RUBY} at (0,0) size 48x18
-        RenderRubyRun (anonymous) at (224,36) size 48x34
-          RenderRubyText {RT} at (0,0) size 48x13
-            RenderText {#text} at (4,0) size 40x13
-              text run at (4,0) width 40: "\x{306B}\x{307B}\x{3093}\x{3054}"
-          RenderRubyBase (anonymous) at (0,13) size 48x21
-            RenderText {#text} at (0,3) size 48x18
-              text run at (0,3) width 48: "\x{65E5}\x{672C}\x{8A9E}"
-      RenderText {#text} at (272,52) size 176x18
-        text run at (272,52) width 176: "\x{306B}\x{3088}\x{304F}\x{4F7F}\x{308F}\x{308C}\x{3066}\x{3044}\x{307E}\x{3059}\x{3002}"
-      RenderText {#text} at (0,0) size 0x0
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock (anonymous) at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 225x18
+          text run at (0,0) width 225: "This is a initial test for simple ruby. "
+        RenderBR {BR} at (225,14) size 0x0
+        RenderBR {BR} at (0,18) size 0x18
+      RenderBlock {P} at (0,52) size 784x31
+        RenderText {#text} at (0,13) size 161x18
+          text run at (0,13) width 161: "Ruby is often used in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 117x18
+          RenderRubyRun (anonymous) at (161,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (41,0) size 35x13
+                text run at (41,0) width 35: "Nihongo"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (0,0) size 117x18
+                text run at (0,0) width 117: "Japanese language"
+        RenderText {#text} at (278,13) size 4x18
+          text run at (278,13) width 4: "."
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.checksum
index 8077b71..9566946 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.checksum
@@ -1 +1 @@
-ad4ee0d0e0b5ea63d8b6bc5aea68552b
\ No newline at end of file
+edfbf2aca903fd09e1e0e648ee77df04
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.png
index 8ba0dee..383e255 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.txt
index 5810af7..0c1289a 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-simple-rp-expected.txt
@@ -2,23 +2,24 @@ layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderText {#text} at (0,0) size 760x36
-        text run at (0,0) width 333: "This is a test for simple ruby that contains <rp> tags. "
-        text run at (333,0) width 427: "Contents of the <rp> tags (opening and closing brackets) should not"
-        text run at (0,18) width 202: "show when ruby is suppoorted. "
-      RenderBR {BR} at (202,32) size 0x0
-      RenderBR {BR} at (0,36) size 0x18
-      RenderText {#text} at (0,70) size 224x18
-        text run at (0,70) width 224: "\x{FF23}\x{FF33}\x{FF33}\x{FF13}\x{FF0F}\x{FF28}\x{FF34}\x{FF2D}\x{FF2C}\x{FF15}\x{306E}\x{30EB}\x{30D3}\x{306F}"
-      RenderRuby (inline) {RUBY} at (0,0) size 48x18
-        RenderRubyRun (anonymous) at (224,54) size 48x34
-          RenderRubyText {RT} at (0,0) size 48x13
-            RenderText {#text} at (4,0) size 40x13
-              text run at (4,0) width 40: "\x{306B}\x{307B}\x{3093}\x{3054}"
-          RenderRubyBase (anonymous) at (0,13) size 48x21
-            RenderText {#text} at (0,3) size 48x18
-              text run at (0,3) width 48: "\x{65E5}\x{672C}\x{8A9E}"
-      RenderText {#text} at (272,70) size 176x18
-        text run at (272,70) width 176: "\x{306B}\x{3088}\x{304F}\x{4F7F}\x{308F}\x{308C}\x{3066}\x{3044}\x{307E}\x{3059}\x{3002}"
-      RenderText {#text} at (0,0) size 0x0
+    RenderBody {BODY} at (8,8) size 784x576
+      RenderBlock (anonymous) at (0,0) size 784x54
+        RenderText {#text} at (0,0) size 760x36
+          text run at (0,0) width 333: "This is a test for simple ruby that contains <rp> tags. "
+          text run at (333,0) width 427: "Contents of the <rp> tags (opening and closing brackets) should not"
+          text run at (0,18) width 202: "show when ruby is suppoorted. "
+        RenderBR {BR} at (202,32) size 0x0
+        RenderBR {BR} at (0,36) size 0x18
+      RenderBlock {P} at (0,70) size 784x31
+        RenderText {#text} at (0,13) size 161x18
+          text run at (0,13) width 161: "Ruby is often used in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 117x18
+          RenderRubyRun (anonymous) at (161,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (41,0) size 35x13
+                text run at (41,0) width 35: "Nihongo"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (0,0) size 117x18
+                text run at (0,0) width 117: "Japanese language"
+        RenderText {#text} at (278,13) size 4x18
+          text run at (278,13) width 4: "."
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.checksum b/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.checksum
index 2966312..153b4af 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.checksum
@@ -1 +1 @@
-588925d599dc3a3da321d61736fb29a9
\ No newline at end of file
+b96256ac2ccbb27d9095feb43d3bad39
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.png b/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.png
index 005438c..b5fe583 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.png and b/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.txt b/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.txt
index 6173e09..199de8d 100644
--- a/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/ruby-trailing-expected.txt
@@ -9,29 +9,20 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,34) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,86) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 132x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (164,13) size 32x21
-            RenderRubyBase (anonymous) at (0,0) size 32x21
-              RenderText {#text} at (0,3) size 32x18
-                text run at (0,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (196,16) size 144x18
-          text run at (196,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-        RenderText {#text} at (0,0) size 0x0
-        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {P} at (0,86) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 46x18
+                text run at (35,0) width 46: "HTML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 4x18
+          text run at (280,13) width 4: "."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum
index 3d5e1f4..82dbd67 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.checksum
@@ -1 +1 @@
-8fbf254935f295ceab51e0619ee5b1e0
\ No newline at end of file
+6713b0e4b673cce66418d822d342ed09
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png
index 76bf9e9..1274f63 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt
index 7554bad..745b991 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt
@@ -12,63 +12,55 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,68) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,120) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 140x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (164,0) size 40x34
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (4,3) size 32x18
-                  text run at (4,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (204,16) size 144x18
-          text run at (204,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,170) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 140x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (164,0) size 40x34
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (4,3) size 32x18
-                  text run at (4,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (204,16) size 144x18
-          text run at (204,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,120) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 122x18
+          RenderRubyRun (anonymous) at (155,0) size 42x31
+            RenderRubyText {RT} at (0,0) size 42x13
+              RenderText {#text} at (0,0) size 42x13
+                text run at (0,0) width 42: "Hyper-text"
+            RenderRubyBase (anonymous) at (0,13) size 42x18
+              RenderInline {SPAN} at (0,0) size 22x18
+                RenderText {#text} at (10,0) size 22x18
+                  text run at (10,0) width 22: "HT"
+          RenderRubyRun (anonymous) at (197,0) size 72x31
+            RenderRubyText {RT} at (0,0) size 72x13
+              RenderText {#text} at (0,0) size 72x13
+                text run at (0,0) width 72: "Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 72x18
+              RenderInline {SPAN} at (0,0) size 24x18
+                RenderText {#text} at (24,0) size 24x18
+                  text run at (24,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (269,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (277,13) size 36x18
+          text run at (277,13) width 36: " spec."
+      RenderBlock {P} at (0,167) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 122x18
+          RenderRubyRun (anonymous) at (155,0) size 42x31
+            RenderRubyText {RT} at (0,0) size 42x13
+              RenderText {#text} at (0,0) size 42x13
+                text run at (0,0) width 42: "Hyper-text"
+            RenderRubyBase (anonymous) at (0,13) size 42x18
+              RenderInline {SPAN} at (0,0) size 22x18
+                RenderText {#text} at (10,0) size 22x18
+                  text run at (10,0) width 22: "HT"
+          RenderRubyRun (anonymous) at (197,0) size 72x31
+            RenderRubyText {RT} at (0,0) size 72x13
+              RenderText {#text} at (0,0) size 72x13
+                text run at (0,0) width 72: "Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 72x18
+              RenderInline {SPAN} at (0,0) size 24x18
+                RenderText {#text} at (24,0) size 24x18
+                  text run at (24,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (269,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (277,13) size 36x18
+          text run at (277,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum
index 4b558d8..fcf7a79 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.checksum
@@ -1 +1 @@
-1fbc9cfb5a7bbdce48f07e2d22e535c4
\ No newline at end of file
+0660e8e522525c819c26f7392103e893
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png
index 4c9851c..b36c893 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt
index 9f11d66..6778b81 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt
@@ -12,61 +12,51 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,68) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,120) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 140x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (164,0) size 40x34
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (4,3) size 32x18
-                  text run at (4,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (204,16) size 144x18
-          text run at (204,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,170) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 140x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3068}\x{3046}\x{304D}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (9,3) size 32x18
-                  text run at (9,3) width 32: "\x{6771}\x{4EAC}"
-          RenderRubyRun (anonymous) at (114,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (164,0) size 40x34
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (4,3) size 32x18
-                  text run at (4,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (204,16) size 144x18
-          text run at (204,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,120) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 122x18
+          RenderRubyRun (anonymous) at (155,0) size 42x31
+            RenderRubyText {RT} at (0,0) size 42x13
+              RenderText {#text} at (0,0) size 42x13
+                text run at (0,0) width 42: "Hyper-text"
+            RenderRubyBase (anonymous) at (0,13) size 42x18
+              RenderText {#text} at (10,0) size 22x18
+                text run at (10,0) width 22: "HT"
+          RenderRubyRun (anonymous) at (197,0) size 72x31
+            RenderRubyText {RT} at (0,0) size 72x13
+              RenderText {#text} at (0,0) size 72x13
+                text run at (0,0) width 72: "Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 72x18
+              RenderText {#text} at (24,0) size 24x18
+                text run at (24,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (269,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (277,13) size 36x18
+          text run at (277,13) width 36: " spec."
+      RenderBlock {P} at (0,167) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 122x18
+          RenderRubyRun (anonymous) at (155,0) size 42x31
+            RenderRubyText {RT} at (0,0) size 42x13
+              RenderText {#text} at (0,0) size 42x13
+                text run at (0,0) width 42: "Hyper-text"
+            RenderRubyBase (anonymous) at (0,13) size 42x18
+              RenderText {#text} at (10,0) size 22x18
+                text run at (10,0) width 22: "HT"
+          RenderRubyRun (anonymous) at (197,0) size 72x31
+            RenderRubyText {RT} at (0,0) size 72x13
+              RenderText {#text} at (0,0) size 72x13
+                text run at (0,0) width 72: "Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 72x18
+              RenderText {#text} at (24,0) size 24x18
+                text run at (24,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (269,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (277,13) size 36x18
+          text run at (277,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum
index a52b24c..988ad23 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.checksum
@@ -1 +1 @@
-afc551bc5560819615395b2b8dc779c4
\ No newline at end of file
+162192ea720e4674cab65b9ddef3eccc
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png
index 4066777..536f58d 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt
index 93b1f30..5c9b9f0 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text2-expected.txt
@@ -13,35 +13,41 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,86) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,138) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 90x18
-          RenderRubyRun (anonymous) at (64,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (13,3) size 32x18
-                  text run at (13,3) width 32: "\x{5DE5}\x{696D}"
-              RenderText {#text} at (45,3) size 32x18
-                text run at (45,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (154,16) size 144x18
-          text run at (154,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,188) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 90x18
-          RenderRubyRun (anonymous) at (64,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (13,3) size 32x18
-                  text run at (13,3) width 32: "\x{5DE5}\x{696D}"
-              RenderText {#text} at (45,3) size 32x18
-                text run at (45,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (154,16) size 144x18
-          text run at (154,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,138) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderInline {SPAN} at (0,0) size 22x18
+                RenderText {#text} at (35,0) size 22x18
+                  text run at (35,0) width 22: "HT"
+              RenderText {#text} at (57,0) size 24x18
+                text run at (57,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
+      RenderBlock {P} at (0,185) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 46x18
+                text run at (35,0) width 46: "HTML"
+              RenderInline {SPAN} at (0,0) size 0x18
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum
index e1fedb8..f0376ed 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.checksum
@@ -1 +1 @@
-efff750eb83b6eaef895ea40f355437c
\ No newline at end of file
+94ebeb76304df27c348454251ecd81cf
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png
index 0741c93..4df481d 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt
index 72bfe4e..d97bc5a 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text3-expected.txt
@@ -12,35 +12,43 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,68) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,120) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 90x18
-          RenderRubyRun (anonymous) at (64,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderText {#text} at (13,3) size 32x18
-                text run at (13,3) width 32: "\x{5DE5}\x{696D}"
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (45,3) size 32x18
-                  text run at (45,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (154,16) size 144x18
-          text run at (154,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,170) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 90x18
-          RenderRubyRun (anonymous) at (64,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderText {#text} at (13,3) size 32x18
-                text run at (13,3) width 32: "\x{5DE5}\x{696D}"
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (45,3) size 32x18
-                  text run at (45,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (154,16) size 144x18
-          text run at (154,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,120) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 22x18
+                text run at (35,0) width 22: "HT"
+              RenderInline {SPAN} at (0,0) size 24x18
+                RenderText {#text} at (57,0) size 24x18
+                  text run at (57,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
+      RenderBlock {P} at (0,167) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 22x18
+                text run at (35,0) width 22: "HT"
+              RenderInline {SPAN} at (0,0) size 24x18
+                RenderText {#text} at (57,0) size 24x18
+                  text run at (57,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum
index af2222b..4e2f75c 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.checksum
@@ -1 +1 @@
-400e7c4e1abf30c67c0e5a5c47d68916
\ No newline at end of file
+4fdc1ceb572bce075eaddc5baae1d99c
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png
index 07c7732..deb554d 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt
index bc4d0c5..e54e7d8 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt1-expected.txt
@@ -12,37 +12,37 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,68) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,120) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 82x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (114,13) size 32x21
-            RenderRubyBase (anonymous) at (0,0) size 32x21
-              RenderText {#text} at (0,3) size 32x18
-                text run at (0,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (146,16) size 144x18
-          text run at (146,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,170) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 82x18
-          RenderRubyRun (anonymous) at (64,0) size 50x34
-            RenderRubyText {RT} at (0,0) size 50x13
-              RenderText {#text} at (0,0) size 50x13
-                text run at (0,0) width 50: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}"
-            RenderRubyBase (anonymous) at (0,13) size 50x21
-              RenderText {#text} at (9,3) size 32x18
-                text run at (9,3) width 32: "\x{5DE5}\x{696D}"
-          RenderRubyRun (anonymous) at (114,13) size 32x21
-            RenderRubyBase (anonymous) at (0,0) size 32x21
-              RenderText {#text} at (0,3) size 32x18
-                text run at (0,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (146,16) size 144x18
-          text run at (146,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,120) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 46x18
+                text run at (35,0) width 46: "HTML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
+      RenderBlock {P} at (0,167) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 46x18
+                text run at (35,0) width 46: "HTML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum
index 1d68d31..d54dece 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.checksum
@@ -1 +1 @@
-145a4cc5a725e500937cbd0cf1ae5b87
\ No newline at end of file
+eebb95d5ddc1b9743b40a34f902af171
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png
index d047d04..0f4ba2b 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt
index b14d0bb..1de0864 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-rt2-expected.txt
@@ -4,40 +4,48 @@ layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (8,8) size 784x576
       RenderBlock {P} at (0,0) size 784x36
-        RenderText {#text} at (0,0) size 733x36
-          text run at (0,0) width 733: "The following is a test for DOM manipulation within <ruby>: Removing the last <rt>, forcing a merge with the right"
-          text run at (0,18) width 89: "neighbour run"
+        RenderText {#text} at (0,0) size 764x36
+          text run at (0,0) width 764: "The following is a test for DOM manipulation within <ruby>: Removing a <rt>, forcing a merge with the right neighbour"
+          text run at (0,18) width 21: "run"
       RenderBlock {P} at (0,52) size 784x18
         RenderText {#text} at (0,0) size 436x18
           text run at (0,0) width 436: "Both lines should look identical (the first line is the one manipulated)."
       RenderBlock (anonymous) at (0,86) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,138) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 90x18
-          RenderRubyRun (anonymous) at (64,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderText {#text} at (13,3) size 32x18
-                text run at (13,3) width 32: "\x{5DE5}\x{696D}"
-              RenderText {#text} at (45,3) size 32x18
-                text run at (45,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (154,16) size 144x18
-          text run at (154,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,188) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 90x18
-          RenderRubyRun (anonymous) at (64,0) size 90x34
-            RenderRubyText {RT} at (0,0) size 90x13
-              RenderText {#text} at (0,0) size 90x13
-                text run at (0,0) width 90: "\x{3053}\x{3046}\x{304E}\x{3087}\x{3046}\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 90x21
-              RenderText {#text} at (13,3) size 64x18
-                text run at (13,3) width 64: "\x{5DE5}\x{696D}\x{5927}\x{5B66}"
-        RenderText {#text} at (154,16) size 144x18
-          text run at (154,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,138) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 22x18
+                text run at (35,0) width 22: "HT"
+              RenderText {#text} at (57,0) size 24x18
+                text run at (57,0) width 24: "ML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
+      RenderBlock {P} at (0,185) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderText {#text} at (35,0) size 46x18
+                text run at (35,0) width 46: "HTML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum
index 07fd5d1..410c7c5 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.checksum
@@ -1 +1 @@
-e12eaf16d01c3a6c41b7f8aa0342e342
\ No newline at end of file
+f45e9034f62c65ca04ab67c9a6de8daa
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png
index 61e2884..f09b9e3 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt
index 0b35839..69cd32a 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text1-expected.txt
@@ -12,31 +12,39 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,68) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,120) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 40x18
-          RenderRubyRun (anonymous) at (64,0) size 40x34
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (4,3) size 32x18
-                  text run at (4,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (104,16) size 144x18
-          text run at (104,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,170) size 784x34
-        RenderText {#text} at (0,16) size 64x18
-          text run at (0,16) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 40x18
-          RenderRubyRun (anonymous) at (64,0) size 40x34
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x21
-              RenderInline {SPAN} at (0,0) size 32x18
-                RenderText {#text} at (4,3) size 32x18
-                  text run at (4,3) width 32: "\x{5927}\x{5B66}"
-        RenderText {#text} at (104,16) size 144x18
-          text run at (104,16) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,120) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderInline {SPAN} at (0,0) size 46x18
+                RenderText {#text} at (35,0) size 46x18
+                  text run at (35,0) width 46: "HTML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
+      RenderBlock {P} at (0,167) size 784x31
+        RenderText {#text} at (0,13) size 155x18
+          text run at (0,13) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,0) size 117x31
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x18
+              RenderInline {SPAN} at (0,0) size 46x18
+                RenderText {#text} at (35,0) size 46x18
+                  text run at (35,0) width 46: "HTML"
+          RenderRubyRun (anonymous) at (272,13) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,13) size 36x18
+          text run at (280,13) width 36: " spec."
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.checksum b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.checksum
index dc371b2..a43f758 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.checksum
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.checksum
@@ -1 +1 @@
-9b117d681dc53e92102c5ca67dc8554b
\ No newline at end of file
+aab91f22e2438f64e4d332ab860745dc
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.png b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.png
index 16ff47a..4049f8d 100644
Binary files a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.png and b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt
index 0997508..ef25b30 100644
--- a/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt
+++ b/LayoutTests/platform/mac/fast/ruby/rubyDOM-remove-text2-expected.txt
@@ -12,24 +12,32 @@ layer at (0,0) size 800x600
       RenderBlock (anonymous) at (0,68) size 784x36
         RenderBR {BR} at (0,0) size 0x18
         RenderBR {BR} at (0,18) size 0x18
-      RenderBlock {P} at (0,120) size 784x21
-        RenderText {#text} at (0,3) size 64x18
-          text run at (0,3) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 40x18
-          RenderRubyRun (anonymous) at (64,7) size 40x13
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-            RenderRubyBase (anonymous) at (0,13) size 40x0
-        RenderText {#text} at (104,3) size 144x18
-          text run at (104,3) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
-      RenderBlock {P} at (0,157) size 784x21
-        RenderText {#text} at (0,3) size 64x18
-          text run at (0,3) width 64: "\x{6E96}\x{592A}\x{90CE}\x{306F}"
-        RenderRuby (inline) {RUBY} at (0,0) size 40x18
-          RenderRubyRun (anonymous) at (64,7) size 40x13
-            RenderRubyText {RT} at (0,0) size 40x13
-              RenderText {#text} at (0,0) size 40x13
-                text run at (0,0) width 40: "\x{3060}\x{3044}\x{304C}\x{304F}"
-        RenderText {#text} at (104,3) size 144x18
-          text run at (104,3) width 144: "\x{304B}\x{3089}\x{5352}\x{696D}\x{3057}\x{307E}\x{3057}\x{305F}\x{3002}"
+      RenderBlock {P} at (0,120) size 784x18
+        RenderText {#text} at (0,0) size 155x18
+          text run at (0,0) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,4) size 117x13
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+            RenderRubyBase (anonymous) at (0,13) size 117x0
+          RenderRubyRun (anonymous) at (272,0) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,0) size 36x18
+          text run at (280,0) width 36: " spec."
+      RenderBlock {P} at (0,154) size 784x18
+        RenderText {#text} at (0,0) size 155x18
+          text run at (0,0) width 155: "<ruby> is defined in the "
+        RenderRuby (inline) {RUBY} at (0,0) size 125x18
+          RenderRubyRun (anonymous) at (155,4) size 117x13
+            RenderRubyText {RT} at (0,0) size 117x13
+              RenderText {#text} at (0,0) size 117x13
+                text run at (0,0) width 117: "Hyper-text Markup Language"
+          RenderRubyRun (anonymous) at (272,0) size 8x18
+            RenderRubyBase (anonymous) at (0,0) size 8x18
+              RenderText {#text} at (0,0) size 8x18
+                text run at (0,0) width 8: "5"
+        RenderText {#text} at (280,0) size 36x18
+          text run at (280,0) width 36: " spec."

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list