<?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>22903</bug_id>
          
          <creation_ts>2013-08-09 07:14:56 +0000</creation_ts>
          <short_desc>W3C spec fork on TextTrackCue</short_desc>
          <delta_ts>2013-09-23 09:00:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</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></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          <blocked>21851</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annacc</cc>
    
    <cc>annacc</cc>
    
    <cc>annevk</cc>
    
    <cc>bdobbs</cc>
    
    <cc>cdouble</cc>
    
    <cc>chris.double</cc>
    
    <cc>franko</cc>
    
    <cc>giles</cc>
    
    <cc>ian</cc>
    
    <cc>lorettaguarino</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>philipj</cc>
    
    <cc>singer</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91824</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-08-09 07:14:56 +0000</bug_when>
    <thetext>I&apos;ve added the Constructor and the text attribute back on the TextTrackCue object. See
https://github.com/w3c/html/commit/1e84a5b2c6c16322c277ed2784689d779f5a173e

I&apos;ll remove the text attribute from VTTCue next.

My theory is that JS devs would like to construct generic (i.e. non-VTT) TextTrackCue objects with text content to add to a TextTrackList and TextTrack and have the browser manage them.

See also
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21851#c24


This bug is to inform you of this fork and see if you want to follow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91841</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-08-09 19:12:28 +0000</bug_when>
    <thetext>This makes no sense, as per my comments in bug 21851. It&apos;s bad design.

If browsers unaccountably decide to implement this anyway, I&apos;ll update the spec, but in the meantime, this is just a bad idea.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91861</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-08-10 09:03:36 +0000</bug_when>
    <thetext>It makes the TextTrackCue API workable with the inBandMetadataTrackDispatchType [1] of the TextTrack API: a browser needs to be able to expose the content of the cues of an in-band track of an unsupported cue format somewhere - the TextTrackCue.text attribute is the right place.

In any case: I just wanted to make sure you were aware of the fork - I didn&apos;t expect this bug to be resolved any differently.

[1] http://www.whatwg.org/specs/web-apps/current-work/#dom-texttrack-inbandmetadatatrackdispatchtype</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91885</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2013-08-12 12:00:01 +0000</bug_when>
    <thetext>At the request of simonp, cross-posting from &lt;https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/-VHGnuNNUxM&gt;:

I don&apos;t think that keeping the TextTrackCue constructor and text property makes a lot of sense after TextTrackCue has been stripped of its WebVTT semantics. As far as I can tell, a TextTrackCue created by script can&apos;t be rendered at all, since it doesn&apos;t have any rendering rules. In other words, I think the WHATWG spec makes more sense here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91892</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-08-12 13:22:28 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; At the request of simonp, cross-posting from
&gt; &lt;https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/-
&gt; VHGnuNNUxM&gt;:
&gt; 
&gt; I don&apos;t think that keeping the TextTrackCue constructor and text property
&gt; makes a lot of sense after TextTrackCue has been stripped of its WebVTT
&gt; semantics. As far as I can tell, a TextTrackCue created by script can&apos;t be
&gt; rendered at all, since it doesn&apos;t have any rendering rules. In other words,
&gt; I think the WHATWG spec makes more sense here.

If you agree with Ian, let&apos;s take this discussion to the W3C and bug 21851, where you&apos;d like to see the change happen. ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93632</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-09-23 09:00:04 +0000</bug_when>
    <thetext>Spec fork has been removed, see https://github.com/w3c/html/commit/580e7e6f98fbd82586aa7e894efbe8c16b99701f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>