<?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>27116</bug_id>
          
          <creation_ts>2014-10-20 21:44:20 +0000</creation_ts>
          <short_desc>&lt;track&gt; element is used for more than just &quot;explicit external timed text tracks&quot;</short_desc>
          <delta_ts>2016-04-27 21:30:58 +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>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="John Foliot">john</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>arronei</cc>
    
    <cc>cyril.concolato</cc>
    
    <cc>ddavis</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</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>113498</commentid>
    <comment_count>0</comment_count>
    <who name="John Foliot">john</who>
    <bug_when>2014-10-20 21:44:20 +0000</bug_when>
    <thetext>The current spec states: 
     &quot;The track element allows authors to specify explicit external timed text tracks for media elements.&quot;

Yet, immediately afterwards, when defining the the various @kind keywords associated to the &lt;track&gt; element, one of those @kinds is Chapters (i.e. &lt;track kind=&quot;chapters&quot; src=&quot;&quot; label=&quot;Chapters&quot;&gt; - &quot;Chapter titles, intended to be used for navigating the media resource. Displayed as an interactive (potentially nested) list in the user agent&apos;s interface.&quot;) - which is clearly not an external timed text track - and while timing may in fact be present, the rendering in the user-interface is not (as defined by the same spec) intended to display/not display content based on time-stamps, but rather to render a static view of specific time-markers, intended for use in navigation.

Recommendation is to revisit the definition of the &lt;track&gt; element, to broaden its scope. Perhaps something like:
     &quot;The track element allows authors to specify explicit external supplemental resources for media elements.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113514</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-10-21 04:30:06 +0000</bug_when>
    <thetext>A chapter track certainly is an &quot;external timed text track&quot;. The format of a chapter track is exactly the same as any other kind of timed text track, text samples (cues) with display times and durations. The only difference is how the UA renders the text samples.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113746</commentid>
    <comment_count>2</comment_count>
    <who name="John Foliot">john</who>
    <bug_when>2014-10-25 00:08:10 +0000</bug_when>
    <thetext>(In reply to Eric Carlson from comment #1)
&gt; A chapter track certainly is an &quot;external timed text track&quot;. The format of a
&gt; chapter track is exactly the same as any other kind of timed text track,
&gt; text samples (cues) with display times and durations. The only difference is
&gt; how the UA renders the text samples.

What about metadata (Tracks intended for use from script)? Is the only metadata allowed metadata with timing information? Do we have an example that we can reference in the spec, as this seems, at best ambiguous in its definition.

I ask, because now the MediaStream API is also using @kind to reference both audio and video (https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediastreamtrack-kind), and the Media Capture and Streams [GETUSERMEDIA] draft infers @kind (as not checked, because &quot;attribute not checked because stream was created with video option only.&quot; - http://www.w3.org/TR/image-capture/#examples) and so it strikes me now that @kind as a more global attribute is already being used for information other than timed text data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113809</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-10-27 21:38:33 +0000</bug_when>
    <thetext>(In reply to John Foliot from comment #2)
&gt; (In reply to Eric Carlson from comment #1)
&gt; &gt; A chapter track certainly is an &quot;external timed text track&quot;. The format of a
&gt; &gt; chapter track is exactly the same as any other kind of timed text track,
&gt; &gt; text samples (cues) with display times and durations. The only difference is
&gt; &gt; how the UA renders the text samples.
&gt; 
&gt; What about metadata (Tracks intended for use from script)? Is the only
&gt; metadata allowed metadata with timing information? 

Metadata samples (cues) are required to have timing information. This is true for all types of cues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113812</commentid>
    <comment_count>4</comment_count>
    <who name="John Foliot">john</who>
    <bug_when>2014-10-27 21:55:35 +0000</bug_when>
    <thetext>(In reply to Eric Carlson from comment #3)
&gt; (In reply to John Foliot from comment #2)
&gt; &gt; (In reply to Eric Carlson from comment #1)
&gt; &gt; &gt; A chapter track certainly is an &quot;external timed text track&quot;. The format of a
&gt; &gt; &gt; chapter track is exactly the same as any other kind of timed text track,
&gt; &gt; &gt; text samples (cues) with display times and durations. The only difference is
&gt; &gt; &gt; how the UA renders the text samples.
&gt; &gt; 
&gt; &gt; What about metadata (Tracks intended for use from script)? Is the only
&gt; &gt; metadata allowed metadata with timing information? 
&gt; 
&gt; Metadata samples (cues) are required to have timing information. This is
&gt; true for all types of cues.


Thanks Eric. Can you supply reference please?

JF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114421</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-11-03 03:12:06 +0000</bug_when>
    <thetext>You might want to re-visit the text track model:
http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#text-track-model

Every text track has &quot;a list of zero or more cues&quot;, and each text track cue consists of &quot;a start time&quot; and &quot;an end time&quot;.

While the term &quot;timed text track&quot; is not specified, all text tracks are expected to be time-aligned with the media timeline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114830</commentid>
    <comment_count>6</comment_count>
    <who name="Daniel Davis">ddavis</who>
    <bug_when>2014-11-12 06:31:18 +0000</bug_when>
    <thetext>(In reply to Silvia Pfeiffer from comment #5)

&gt; While the term &quot;timed text track&quot; is not specified, all text tracks are
&gt; expected to be time-aligned with the media timeline.

Just to clarify, time-alignment does not seem to be a requirement, based on &quot;a list of zero or more cues&quot;.

In which case maybe the original rewording suggestion is valid, or something similar such as:
&quot;The track element allows authors to specify explicit external text resources for media elements.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114835</commentid>
    <comment_count>7</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-11-12 11:10:24 +0000</bug_when>
    <thetext>(In reply to Daniel Davis from comment #6)
&gt;
&gt; Just to clarify, time-alignment does not seem to be a requirement, based on
&gt; &quot;a list of zero or more cues&quot;.

Is an &lt;img&gt; element without a reference to an image resource still an image?

The intent of &quot;zero&quot; is to allow adding cues via script. It&apos;s not to make the text track non-time-aligned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126228</commentid>
    <comment_count>8</comment_count>
    <who name="Arron Eicholz">arronei</who>
    <bug_when>2016-04-27 21:30:58 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: Fixed in latest change using the suggestion from Daniel Davis.

https://github.com/w3c/html/pull/275

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>