<?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>23874</bug_id>
          
          <creation_ts>2013-11-20 13:00:34 +0000</creation_ts>
          <short_desc>[WebVTT] Should there be support for &lt;rp&gt;?</short_desc>
          <delta_ts>2015-09-30 19:40:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>TextTracks CG</product>
          <component>WebVTT</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>28265</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>v2</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>28265</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Fredrik S">fs</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>giles</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-texttracks</cc>
    
    <cc>rick.eyre</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96586</commentid>
    <comment_count>0</comment_count>
    <who name="Fredrik S">fs</who>
    <bug_when>2013-11-20 13:00:34 +0000</bug_when>
    <thetext>Prompted by http://crbug.com/150927 .

Should &lt;rp&gt; tags be allowed under &lt;ruby&gt; tags? Currently they will be treated as &quot;unrecognized&quot;, and hence end being dropped. As can be seen in the screenshot in the bug referenced above, this can give rise to odd-looking rendering even in UAs that support Ruby. (The rendering in non-supporting UAs will get pretty longwinded though...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96619</commentid>
    <comment_count>1</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2013-11-21 01:15:43 +0000</bug_when>
    <thetext>It certainly looks bad. OTOH the WebVTT generator could strip this.

How popular is &lt;rp&gt; with Japanese subtitlers?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96625</commentid>
    <comment_count>2</comment_count>
    <who name="Fredrik S">fs</who>
    <bug_when>2013-11-21 09:04:49 +0000</bug_when>
    <thetext>(In reply to Ralph Giles from comment #1)
&gt; It certainly looks bad. OTOH the WebVTT generator could strip this.

I agree, and that would probably be my personal preference (i.e. &quot;no change&quot;).
 
&gt; How popular is &lt;rp&gt; with Japanese subtitlers?

No idea. AFAICT, the referenced example is constructed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96644</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-11-21 17:25:56 +0000</bug_when>
    <thetext>I&apos;m planning on aligning the WebVTT spec with the HTML spec once http://darobin.github.io/html-ruby/ has been sorted out. For now, I don&apos;t think we have any content that would be broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96664</commentid>
    <comment_count>4</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2013-11-21 21:09:17 +0000</bug_when>
    <thetext>Just to clarify, you plan to adopt the full set of ruby tags from the HTML spec, including &lt;rp&gt;, &lt;rb&gt; etc?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96669</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-11-21 22:47:29 +0000</bug_when>
    <thetext>(In reply to Ralph Giles from comment #4)
&gt; Just to clarify, you plan to adopt the full set of ruby tags from the HTML
&gt; spec, including &lt;rp&gt;, &lt;rb&gt; etc?

I don&apos;t have enough knowledge myself about ruby-like needs, but Robin has done an enormous amount of research. It seems his proposal satisfies all the use cases. So, yes, I thought I would just accept all of the elements he is proposing.

Are you against that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99423</commentid>
    <comment_count>6</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-01-29 17:50:29 +0000</bug_when>
    <thetext>The situation is:

WebVTT has &lt;ruby&gt; and &lt;rt&gt;

http://whatwg.org/html has &lt;ruby&gt;, &lt;rt&gt; and &lt;rp&gt;

http://darobin.github.io/html-ruby/ has &lt;ruby&gt;, &lt;rb&gt;, &lt;rt&gt;, &lt;rtc&gt; and &lt;rp&gt;

I do not think we should align with darobin&apos;s spec until it has been implemented for HTML in some browser with positive results.

As for &lt;rp&gt;, the HTML spec says that &quot;The rp element can be used to provide parentheses or other content around a ruby text component of a ruby annotation, to be shown by user agents that don&apos;t support ruby annotations.&quot;

This seems somewhat odd to add for WebVTT, can&apos;t browsers that implement WebVTT also just implement the ruby bits?

All in all, I would suggest no change for v1, unless that change can be shown to fix some cases that are common in subtitles.

Silvia, do you support moving this to v2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99432</commentid>
    <comment_count>7</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2014-01-29 18:35:54 +0000</bug_when>
    <thetext>(In reply to Philip Jägenstedt from comment #6)

&gt; As for &lt;rp&gt;, the HTML spec says that &quot;The rp element can be used to provide
&gt; parentheses or other content around a ruby text component of a ruby
&gt; annotation, to be shown by user agents that don&apos;t support ruby annotations.&quot;

That was my thought as well. The counter-argument is that it&apos;s nice to copy/paste ruby markup in html, so supporting the same tag set is nicer for authors.

We looked and didn&apos;t find any wild examples of &lt;rp&gt; in subtitles.

&gt; Silvia, do you support moving this to v2?

FWIW I think postponing is a fine idea. I don&apos;t expect we&apos;ll have resources to implement this in Firefox in the near term.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99509</commentid>
    <comment_count>8</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-01-30 22:53:11 +0000</bug_when>
    <thetext>Moving to v2. I too wanted to wait until browsers implement the &lt;ruby&gt; related tags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123390</commentid>
    <comment_count>9</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-09-30 19:40:16 +0000</bug_when>
    <thetext>Closing as a duplicate of Bug 28265. If we come across a need for &lt;rp&gt;, we can always re-open this.

*** This bug has been marked as a duplicate of bug 28265 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>