<?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>28183</bug_id>
          
          <creation_ts>2015-03-10 05:52:13 +0000</creation_ts>
          <short_desc>Add ruby-position to the CSS whitelist</short_desc>
          <delta_ts>2015-11-16 13:00:47 +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>MOVED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/webvtt/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>dakim</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>giles</cc>
    
    <cc>philipj</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="Web Media Text Tracks CG">public-texttracks</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118479</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-03-10 05:52:13 +0000</bug_when>
    <thetext>http://dev.w3.org/csswg/css-ruby/#rubypos

This is needed to control the position of the ruby text.

There&apos;s also ruby-merge and ruby-align, but one thing at a time...

(Via private feedback from Dae Kim)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119202</commentid>
    <comment_count>1</comment_count>
    <who name="Dae Kim">dakim</who>
    <bug_when>2015-04-02 20:22:58 +0000</bug_when>
    <thetext>I&apos;m not sure this will be enough to support most use cases.
Consider the snippet:

00:00:10.000 --&gt; 00:00:15.000
&lt;ruby&gt;Line 1&lt;rt&gt;ruby1&lt;/rt&gt;&lt;/ruby&gt;
&lt;ruby&gt;Line 2&lt;rt&gt;ruby2&lt;/rt&gt;&lt;/ruby&gt;

Whitelisting ruby-position would allow control per cue, but how would I apply &quot;over&quot; to &lt;rt&gt;ruby1&lt;/rt&gt; and &quot;under&quot; to &lt;rt&gt;ruby2&lt;/rt&gt;?

Wouldn&apos;t we need two unique &lt;rt&gt; spans or allow rubies to be class references or have attributes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119211</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-04-03 04:10:32 +0000</bug_when>
    <thetext>You would have to assign classes in that case:

00:00:10.000 --&gt; 00:00:15.000
&lt;ruby&gt;Line 1&lt;rt.over&gt;ruby1&lt;/rt&gt;&lt;/ruby&gt;
&lt;ruby&gt;Line 2&lt;rt.under&gt;ruby2&lt;/rt&gt;&lt;/ruby&gt;

The style that with

::cue(rt.over) {
  ruby-position: over;
}

::cue(rt.under) {
  ruby-position: under;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119230</commentid>
    <comment_count>3</comment_count>
    <who name="Dae Kim">dakim</who>
    <bug_when>2015-04-03 23:20:38 +0000</bug_when>
    <thetext>In addition to whitelisting ruby-position, should the wording also change in the VTT spec?

Change:
A WebVTT cue span start tag &quot;rt&quot; that disallows an annotation.

To:
A WebVTT cue span start tag &quot;rt&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119433</commentid>
    <comment_count>4</comment_count>
    <who name="Dae Kim">dakim</who>
    <bug_when>2015-04-10 22:55:38 +0000</bug_when>
    <thetext>(In reply to Dae Kim from comment #3)
&gt; In addition to whitelisting ruby-position, should the wording also change in
&gt; the VTT spec?
&gt; 
&gt; Change:
&gt; A WebVTT cue span start tag &quot;rt&quot; that disallows an annotation.
&gt; 
&gt; To:
&gt; A WebVTT cue span start tag &quot;rt&quot;.

Apologies. Change to the spec should be:
A WebVTT cue span start tag &quot;rt&quot; that requires annotation; ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119522</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-04-15 09:06:41 +0000</bug_when>
    <thetext>Note that annotations are for &lt;v&gt; and &lt;lang&gt; and the annotation is the part after a space, like &lt;v Roger Bingham&gt; or &lt;lang en&gt;. I believe all tag allow classes without any modification, but we&apos;ll have to look closer when fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122528</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-08-09 10:15:21 +0000</bug_when>
    <thetext>ruby-position is not supported by any browser other than Firefox. It&apos;s a bit early to adopt IMHO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122550</commentid>
    <comment_count>7</comment_count>
    <who name="Dae Kim">dakim</who>
    <bug_when>2015-08-10 22:41:49 +0000</bug_when>
    <thetext>(In reply to Silvia Pfeiffer from comment #6)
&gt; ruby-position is not supported by any browser other than Firefox. It&apos;s a bit
&gt; early to adopt IMHO.

I can&apos;t speak for them BUT ... the largest implementer of WebVTT uses it for more than native browser support. They also have a global presence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123325</commentid>
    <comment_count>8</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-09-26 22:13:31 +0000</bug_when>
    <thetext>I&apos;d be happy to add ruby-position to the whitelisted CSS unless browsers object to it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124219</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-11-16 12:23:46 +0000</bug_when>
    <thetext>ruby-position is also supported in WebKit as -webkit-ruby-position: [ before | after | inter-character ]

(Filed https://bugs.webkit.org/show_bug.cgi?id=151306 to unprefix.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124221</commentid>
    <comment_count>10</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-11-16 12:33:42 +0000</bug_when>
    <thetext>https://github.com/w3c/webvtt/pull/263</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124222</commentid>
    <comment_count>11</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-11-16 13:00:47 +0000</bug_when>
    <thetext>For ruby-merge, I suggest WONTFIX since the same effect can be achieved with markup, which is shown in the examples in the css-ruby spec. (VTT only has &lt;ruby&gt; and &lt;rt&gt; anyway.)

For ruby-align, I filed https://github.com/w3c/webvtt/issues/265</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>