Skip to content

Commit

Permalink
[e] (0) Update rt/rp sections to match newer ruby section.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19229
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7611 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 30, 2012
1 parent 92d12c4 commit 5af468e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 74 deletions.
38 changes: 13 additions & 25 deletions complete.html
Expand Up @@ -22685,20 +22685,15 @@ <h4 id=the-rt-element><span class=secno>4.6.22 </span>The <dfn><code>rt</code></
<dd><a href=#global-attributes>Global attributes</a></dd>
<dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rt-element>rt</a></code> element marks the ruby text component of a
ruby annotation.</p>

<p>An <code><a href=#the-rt-element>rt</a></code> element <span class=impl>that is a child of
a <code><a href=#the-ruby-element>ruby</a></code> element</span> <a href=#represents>represents</a> an
annotation (given by its children) for the zero or more nodes of
phrasing content that immediately precedes it in the
<code><a href=#the-ruby-element>ruby</a></code> element, ignoring <code><a href=#the-rp-element>rp</a></code> elements.</p>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rt-element>rt</a></code> element marks the ruby text component of a ruby annotation. When it is the
child of a <code><a href=#the-ruby-element>ruby</a></code> element, it doesn't <a href=#represents title=represents>represent</a>
anything itself, but the <code><a href=#the-ruby-element>ruby</a></code> element uses it as part of determining what <em>it</em>
<a href=#represents>represents</a>.</p>

<div class=impl>

<p>An <code><a href=#the-rt-element>rt</a></code> element that is not a child of a
<code><a href=#the-ruby-element>ruby</a></code> element represents the same thing as its
children.</p>
<p>An <code><a href=#the-rt-element>rt</a></code> element that is not a child of a <code><a href=#the-ruby-element>ruby</a></code> element
<a href=#represents>represents</a> the same thing as its children.</p>

</div>

Expand All @@ -22711,24 +22706,17 @@ <h4 id=the-rp-element><span class=secno>4.6.23 </span>The <dfn><code>rp</code></
<dd>As a child of a <code><a href=#the-ruby-element>ruby</a></code> element, either immediately before or immediately after an <code><a href=#the-rt-element>rt</a></code> element.</dd>
<dt><a href=#element-dfn-content-model title=element-dfn-content-model>Content model</a>:</dt>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<!--
<dd>If the <code>rp</code> element is immediately after an <code>rt</code> element that is immediately preceded by another <code>rp</code> element: a single character from Unicode character class Pe.</dd>
<dd>Otherwise: a single character from Unicode character class Ps.</dd>
-->
<dt><a href=#element-dfn-attributes title=element-dfn-attributes>Content attributes</a>:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rp-element>rp</a></code> element can be used to provide parentheses
around a ruby text component of a ruby annotation, to be shown by
user agents that don't support ruby annotations.</p>

<p>An <code><a href=#the-rp-element>rp</a></code> element <span class=impl>that is a child of
a <code><a href=#the-ruby-element>ruby</a></code> element</span> <a href=#represents>represents</a>
nothing<span class=impl> and its contents must be
ignored</span>. <span class=impl>An <code><a href=#the-rp-element>rp</a></code> element whose
parent element is not a <code><a href=#the-ruby-element>ruby</a></code> element
<a href=#represents>represents</a> its children.</span></p>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rp-element>rp</a></code> element can be used to provide parentheses around a ruby text component of
a ruby annotation, to be shown by user agents that don't support ruby annotations.</p>

<p>An <code><a href=#the-rp-element>rp</a></code> element <span class=impl>that is a child of a <code><a href=#the-ruby-element>ruby</a></code>
element</span> <a href=#represents>represents</a> nothing. <span class=impl>An <code><a href=#the-rp-element>rp</a></code> element
whose parent element is not a <code><a href=#the-ruby-element>ruby</a></code> element <a href=#represents>represents</a> its
children.</span></p>

<div class=example>

Expand Down
38 changes: 13 additions & 25 deletions index
Expand Up @@ -22685,20 +22685,15 @@ wormhole connection.&lt;/mark&gt;&lt;/p&gt;</pre>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rt-element>rt</a></code> element marks the ruby text component of a
ruby annotation.</p>

<p>An <code><a href=#the-rt-element>rt</a></code> element <span class=impl>that is a child of
a <code><a href=#the-ruby-element>ruby</a></code> element</span> <a href=#represents>represents</a> an
annotation (given by its children) for the zero or more nodes of
phrasing content that immediately precedes it in the
<code><a href=#the-ruby-element>ruby</a></code> element, ignoring <code><a href=#the-rp-element>rp</a></code> elements.</p>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rt-element>rt</a></code> element marks the ruby text component of a ruby annotation. When it is the
child of a <code><a href=#the-ruby-element>ruby</a></code> element, it doesn't <a href=#represents title=represents>represent</a>
anything itself, but the <code><a href=#the-ruby-element>ruby</a></code> element uses it as part of determining what <em>it</em>
<a href=#represents>represents</a>.</p>

<div class=impl>

<p>An <code><a href=#the-rt-element>rt</a></code> element that is not a child of a
<code><a href=#the-ruby-element>ruby</a></code> element represents the same thing as its
children.</p>
<p>An <code><a href=#the-rt-element>rt</a></code> element that is not a child of a <code><a href=#the-ruby-element>ruby</a></code> element
<a href=#represents>represents</a> the same thing as its children.</p>

</div>

Expand All @@ -22711,24 +22706,17 @@ wormhole connection.&lt;/mark&gt;&lt;/p&gt;</pre>
<dd>As a child of a <code><a href=#the-ruby-element>ruby</a></code> element, either immediately before or immediately after an <code><a href=#the-rt-element>rt</a></code> element.</dd>
<dt><a href=#element-dfn-content-model title=element-dfn-content-model>Content model</a>:</dt>
<dd><a href=#phrasing-content>Phrasing content</a>.</dd>
<!--
<dd>If the <code>rp</code> element is immediately after an <code>rt</code> element that is immediately preceded by another <code>rp</code> element: a single character from Unicode character class Pe.</dd>
<dd>Otherwise: a single character from Unicode character class Ps.</dd>
-->
<dt><a href=#element-dfn-attributes title=element-dfn-attributes>Content attributes</a>:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rp-element>rp</a></code> element can be used to provide parentheses
around a ruby text component of a ruby annotation, to be shown by
user agents that don't support ruby annotations.</p>

<p>An <code><a href=#the-rp-element>rp</a></code> element <span class=impl>that is a child of
a <code><a href=#the-ruby-element>ruby</a></code> element</span> <a href=#represents>represents</a>
nothing<span class=impl> and its contents must be
ignored</span>. <span class=impl>An <code><a href=#the-rp-element>rp</a></code> element whose
parent element is not a <code><a href=#the-ruby-element>ruby</a></code> element
<a href=#represents>represents</a> its children.</span></p>
</dl><!--TOPIC:HTML--><p>The <code><a href=#the-rp-element>rp</a></code> element can be used to provide parentheses around a ruby text component of
a ruby annotation, to be shown by user agents that don't support ruby annotations.</p>

<p>An <code><a href=#the-rp-element>rp</a></code> element <span class=impl>that is a child of a <code><a href=#the-ruby-element>ruby</a></code>
element</span> <a href=#represents>represents</a> nothing. <span class=impl>An <code><a href=#the-rp-element>rp</a></code> element
whose parent element is not a <code><a href=#the-ruby-element>ruby</a></code> element <a href=#represents>represents</a> its
children.</span></p>

<div class=example>

Expand Down
36 changes: 12 additions & 24 deletions source
Expand Up @@ -24053,20 +24053,15 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
<dd>Uses <code>HTMLElement</code>.</dd>
</dl><!--TOPIC:HTML-->

<p>The <code>rt</code> element marks the ruby text component of a
ruby annotation.</p>

<p>An <code>rt</code> element <span class="impl">that is a child of
a <code>ruby</code> element</span> <span>represents</span> an
annotation (given by its children) for the zero or more nodes of
phrasing content that immediately precedes it in the
<code>ruby</code> element, ignoring <code>rp</code> elements.</p>
<p>The <code>rt</code> element marks the ruby text component of a ruby annotation. When it is the
child of a <code>ruby</code> element, it doesn't <span title="represents">represent</span>
anything itself, but the <code>ruby</code> element uses it as part of determining what <em>it</em>
<span>represents</span>.</p>

<div class="impl">

<p>An <code>rt</code> element that is not a child of a
<code>ruby</code> element represents the same thing as its
children.</p>
<p>An <code>rt</code> element that is not a child of a <code>ruby</code> element
<span>represents</span> the same thing as its children.</p>

</div>

Expand All @@ -24080,26 +24075,19 @@ wormhole connection.&lt;/mark>&lt;/p></pre>
<dd>As a child of a <code>ruby</code> element, either immediately before or immediately after an <code>rt</code> element.</dd>
<dt><span title="element-dfn-content-model">Content model</span>:</dt>
<dd><span>Phrasing content</span>.</dd>
<!--
<dd>If the <code>rp</code> element is immediately after an <code>rt</code> element that is immediately preceded by another <code>rp</code> element: a single character from Unicode character class Pe.</dd>
<dd>Otherwise: a single character from Unicode character class Ps.</dd>
-->
<dt><span title="element-dfn-attributes">Content attributes</span>:</dt>
<dd><span>Global attributes</span></dd>
<dt><span title="element-dfn-dom">DOM interface</span>:</dt><!--TOPIC:DOM APIs-->
<dd>Uses <code>HTMLElement</code>.</dd>
</dl><!--TOPIC:HTML-->

<p>The <code>rp</code> element can be used to provide parentheses
around a ruby text component of a ruby annotation, to be shown by
user agents that don't support ruby annotations.</p>
<p>The <code>rp</code> element can be used to provide parentheses around a ruby text component of
a ruby annotation, to be shown by user agents that don't support ruby annotations.</p>

<p>An <code>rp</code> element <span class="impl">that is a child of
a <code>ruby</code> element</span> <span>represents</span>
nothing<span class="impl"> and its contents must be
ignored</span>. <span class="impl">An <code>rp</code> element whose
parent element is not a <code>ruby</code> element
<span>represents</span> its children.</span></p>
<p>An <code>rp</code> element <span class="impl">that is a child of a <code>ruby</code>
element</span> <span>represents</span> nothing. <span class="impl">An <code>rp</code> element
whose parent element is not a <code>ruby</code> element <span>represents</span> its
children.</span></p>

<div class="example">

Expand Down

0 comments on commit 5af468e

Please sign in to comment.