<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19253</bug_id>
          
          <creation_ts>2012-10-03 16:42:14 +0000</creation_ts>
          <short_desc>i18n-ISSUE-198: rt and rp elements</short_desc>
          <delta_ts>2014-03-06 23:14:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="i18n IG">www-international</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>addison</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>travil</cc>
    
    <cc>www-international</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75235</commentid>
    <comment_count>0</comment_count>
    <who name="i18n IG">www-international</who>
    <bug_when>2012-10-03 16:42:14 +0000</bug_when>
    <thetext>(endorsed by the i18n WG)

4.6.20 The ruby element
http://dev.w3.org/html5/spec/the-ruby-element.html#the-ruby-element

&quot;An rp element followed by one or more rt elements, each of which is itself followed by an rp element&quot;

Have I misunderstood this, or is it saying that you could have something like:

&lt;ruby&gt;BASE&lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;annotation1&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;&lt;rt&gt;annotation2&lt;/rt&gt;&lt;rp&gt;)&lt;/rt&gt;&lt;/ruby&gt;

or is it a typo, and should read &quot;each of which is itself surrounded by an rp element&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80859</commentid>
    <comment_count>1</comment_count>
    <who name="Erika Doyle Navara">erika.doyle</who>
    <bug_when>2013-01-02 23:37:17 +0000</bug_when>
    <thetext>Instead of &quot;surrounded by&quot;, which might imply that the &lt;rp&gt; element actually contains the &lt;rt&gt; elements rather than being a sibling to them, how about the following:

An rp element followed by one or more rt elements, followed by another rp element.

Here is the staged change for review:
https://github.com/w3c/html/commit/6b284107feab5267292377504977b37ca0a4d0f9

It changes this part of the spec:
http://www.w3.org/TR/html51/text-level-semantics.html#the-ruby-element

Also, given that &quot;Contexts in which this element can be used&quot; for &lt;rp&gt; elements states that:

As a child of a ruby element, either immediately before or immediately after an rt element. http://www.w3.org/TR/html51/text-level-semantics.html#the-rp-element

...it is unclear whether the following would be allowed:

&lt;ruby&gt;BASE&lt;rp&gt;(&lt;/rp&gt;&lt;rt&gt;annotation1&lt;/rt&gt;&lt;rt&gt;annotation2&lt;/rt&gt;&lt;rp&gt;)&lt;/rp&gt;&lt;/ruby&gt;

Is the i18n IG / HTML WG okay with this ambiguity, or should we be more strict and drop the &quot;or more&quot; part to only allow one &lt;rt&gt; element per &lt;rp&gt; pair?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81006</commentid>
    <comment_count>2</comment_count>
    <who name="Erika Doyle Navara">erika.doyle</who>
    <bug_when>2013-01-07 19:20:55 +0000</bug_when>
    <thetext>Robin will be working through all the ruby matters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97589</commentid>
    <comment_count>3</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-12-13 14:24:47 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: Complete overhaul of the section.
Rationale: The section has been completely overhauled and your input has been taken into account. That said, there is no strict requirement for &lt;rp&gt; elements to appear in well-balanced pairs and the example you cite *could* sometimes apply. For instance, it could be used to place a comma between two annotations that would otherwise go above and below the base text. The section on &lt;rp&gt; has an example of that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102026</commentid>
    <comment_count>4</comment_count>
    <who name="Addison Phillips">addison</who>
    <bug_when>2014-03-06 23:14:09 +0000</bug_when>
    <thetext>I18N is satisfied by these changes. Thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>