Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Fix the markup to match the example renderings.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10829

git-svn-id: http://svn.whatwg.org/webapps@5590 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 7, 2010
1 parent 9a025be commit 7dc1187
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 43 deletions.
19 changes: 4 additions & 15 deletions complete.html
Expand Up @@ -19697,10 +19697,7 @@ <h4 id=the-ruby-element><span class=secno>4.6.19 </span>The <dfn><code>ruby</cod
reading in hiragana.</p>

<pre lang=ja>...
&lt;ruby&gt;
&#28450; &lt;rt&gt; &#12363;&#12435; &lt;/rt&gt;
&#23383; &lt;rt&gt; &#12376;&#12288; &lt;/rt&gt;
&lt;/ruby&gt;
&lt;ruby&gt;&#28450;&lt;rt&gt;&#12363;&#12435;&lt;/rt&gt;&#23383;&lt;rt&gt;&#12376;&#12288;&lt;/rt&gt;&lt;/ruby&gt;
...</pre>

<p>This might be rendered as:</p>
Expand All @@ -19717,10 +19714,7 @@ <h4 id=the-ruby-element><span class=secno>4.6.19 </span>The <dfn><code>ruby</cod
<span lang=zh-TW title="">&#28450;&#23383;</span> is annotated
with its bopomofo reading.</p>

<pre lang=zh-TW>&lt;ruby&gt;
&#28450; &lt;rt&gt; &#12559;&#12578;&#715; &lt;/rt&gt;
&#23383; &lt;rt&gt; &#12567;&#715;&#12288; &lt;/rt&gt;
&lt;/ruby&gt;</pre>
<pre lang=zh-TW>&lt;ruby&gt;&#28450;&lt;rt&gt;&#12559;&#12578;&#715;&lt;/rt&gt;&#23383;&lt;rt&gt;&#12567;&#715;&#12288;&lt;/rt&gt;&lt;/ruby&gt;</pre>

<p>This might be rendered as:</p>

Expand All @@ -19736,12 +19730,7 @@ <h4 id=the-ruby-element><span class=secno>4.6.19 </span>The <dfn><code>ruby</cod
<span lang=zh-CN title="">&#27721;&#23383;</span> is annotated
with its pinyin reading.</p>

<pre lang=zh-CN>...
&lt;ruby&gt;
&#27721; &lt;rt&gt; h&agrave;n &lt;/rt&gt;
&#23383; &lt;rt&gt; z&igrave;&nbsp; &lt;/rt&gt;
&lt;/ruby&gt;
...</pre>
<pre lang=zh-CN>...&lt;ruby&gt;&#27721;&lt;rt&gt;h&agrave;n&lt;/rt&gt;&#23383;&lt;rt&gt;z&igrave;&nbsp;&lt;/rt&gt;&lt;/ruby&gt;...</pre>

<p>This might be rendered as:</p>

Expand Down Expand Up @@ -32486,7 +32475,7 @@ <h6 id=text-0><span class=secno>4.8.11.1.10 </span>Text</h6> <!-- a v3 feature -
attribute's allowed keywords correspond to alignment points in the
font:</p>

<p><img alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#2310; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and " height=300 src=http://images.whatwg.org/baselines.png width=738>x03A9; are anchored, the ideographic baseline is where glyphs like &#31169; and &#36948; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square."&gt;</p>
<p><img alt="The top of the em square is roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like &#2310; are anchored, the middle is half-way between the top of the em square and the bottom of the em square, the alphabetic baseline is where characters like &Aacute;, &yuml;, f, and &Omega; are anchored, the ideographic baseline is where glyphs like &#31169; and &#36948; are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a font. The top and bottom of the bounding box can be far from these baselines, due to glyphs extending far outside the em square." height=300 src=http://images.whatwg.org/baselines.png width=738></p>

<p>The keywords map to these alignment points as follows:</p>

Expand Down
17 changes: 3 additions & 14 deletions index
Expand Up @@ -19674,10 +19674,7 @@ wormhole connection.&lt;/mark&gt;&lt;/p&gt;</pre>
reading in hiragana.</p>

<pre lang=ja>...
&lt;ruby&gt;
&#28450; &lt;rt&gt; &#12363;&#12435; &lt;/rt&gt;
&#23383; &lt;rt&gt; &#12376;&#12288; &lt;/rt&gt;
&lt;/ruby&gt;
&lt;ruby&gt;&#28450;&lt;rt&gt;&#12363;&#12435;&lt;/rt&gt;&#23383;&lt;rt&gt;&#12376;&#12288;&lt;/rt&gt;&lt;/ruby&gt;
...</pre>

<p>This might be rendered as:</p>
Expand All @@ -19694,10 +19691,7 @@ wormhole connection.&lt;/mark&gt;&lt;/p&gt;</pre>
<span lang=zh-TW title="">&#28450;&#23383;</span> is annotated
with its bopomofo reading.</p>

<pre lang=zh-TW>&lt;ruby&gt;
&#28450; &lt;rt&gt; &#12559;&#12578;&#715; &lt;/rt&gt;
&#23383; &lt;rt&gt; &#12567;&#715;&#12288; &lt;/rt&gt;
&lt;/ruby&gt;</pre>
<pre lang=zh-TW>&lt;ruby&gt;&#28450;&lt;rt&gt;&#12559;&#12578;&#715;&lt;/rt&gt;&#23383;&lt;rt&gt;&#12567;&#715;&#12288;&lt;/rt&gt;&lt;/ruby&gt;</pre>

<p>This might be rendered as:</p>

Expand All @@ -19713,12 +19707,7 @@ wormhole connection.&lt;/mark&gt;&lt;/p&gt;</pre>
<span lang=zh-CN title="">&#27721;&#23383;</span> is annotated
with its pinyin reading.</p>

<pre lang=zh-CN>...
&lt;ruby&gt;
&#27721; &lt;rt&gt; h&agrave;n &lt;/rt&gt;
&#23383; &lt;rt&gt; z&igrave;&nbsp; &lt;/rt&gt;
&lt;/ruby&gt;
...</pre>
<pre lang=zh-CN>...&lt;ruby&gt;&#27721;&lt;rt&gt;h&agrave;n&lt;/rt&gt;&#23383;&lt;rt&gt;z&igrave;&nbsp;&lt;/rt&gt;&lt;/ruby&gt;...</pre>

<p>This might be rendered as:</p>

Expand Down
17 changes: 3 additions & 14 deletions source
Expand Up @@ -20999,10 +20999,7 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
reading in hiragana.</p>

<pre lang="ja">...
&lt;ruby>
&#28450; &lt;rt> &#12363;&#12435; &lt;/rt>
&#23383; &lt;rt> &#12376;&#x3000; &lt;/rt>
&lt;/ruby>
&lt;ruby>&#28450;&lt;rt>&#12363;&#12435;&lt;/rt>&#23383;&lt;rt>&#12376;&#x3000;&lt;/rt>&lt;/ruby>
...</pre>

<p>This might be rendered as:</p>
Expand All @@ -21020,10 +21017,7 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
<span title="" lang="zh-TW">&#28450;&#23383;</span> is annotated
with its bopomofo reading.</p>

<pre lang="zh-TW">&lt;ruby>
&#28450; &lt;rt> &#12559;&#12578;&#715; &lt;/rt>
&#23383; &lt;rt> &#12567;&#715;&#x3000; &lt;/rt>
&lt;/ruby></pre>
<pre lang="zh-TW">&lt;ruby>&#28450;&lt;rt>&#12559;&#12578;&#715;&lt;/rt>&#23383;&lt;rt>&#12567;&#715;&#x3000;&lt;/rt>&lt;/ruby></pre>

<p>This might be rendered as:</p>

Expand All @@ -21040,12 +21034,7 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
<span title="" lang="zh-CN">&#27721;&#23383;</span> is annotated
with its pinyin reading.</p>

<pre lang="zh-CN">...
&lt;ruby>
&#27721; &lt;rt> h&#224;n &lt;/rt>
&#23383; &lt;rt> z&#236;&nbsp; &lt;/rt>
&lt;/ruby>
...</pre>
<pre lang="zh-CN">...&lt;ruby>&#27721;&lt;rt>h&#224;n&lt;/rt>&#23383;&lt;rt>z&#236;&nbsp;&lt;/rt>&lt;/ruby>...</pre>

<p>This might be rendered as:</p>

Expand Down

0 comments on commit 7dc1187

Please sign in to comment.