<?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>16915</bug_id>
          
          <creation_ts>2012-05-03 09:22:39 +0000</creation_ts>
          <short_desc>&lt;track&gt; The DOM API should be able to read and set the &quot;auto&quot; value for TextTrackCue.line</short_desc>
          <delta_ts>2012-09-11 23:33:42 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#texttrackcue</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67278</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-05-03 09:22:39 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#texttrackcue
Complete: http://www.whatwg.org/c#texttrackcue

Comment:
The DOM API should be able to read and set the &quot;auto&quot; value for
TextTrackCue.line

Posted from: 88.131.66.80 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.62</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67279</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-05-03 09:25:35 +0000</bug_when>
    <thetext>I think the current situation is not optimal -- it&apos;s not possible to tell if a cue has position 0 or auto, and if you want to change the position to auto, you have to create a new cue and copy over all other properties.

I think the IDL should be something like

enum LinePositionKeyword { &quot;auto&quot; };
...
           attribute (long or LinePositionKeyword) line;
...

and then prose handling &quot;auto&quot; as appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67280</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-05-03 09:30:22 +0000</bug_when>
    <thetext>Also currently the following line makes the cue change position from the bottom to the top, which seems weird:

cue.line = cue.line;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70805</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:31:30 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18169 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73645</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-09-11 23:33:42 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7330.
Check-in comment: Change TextTrackCue.line to expose the raw value rather than the computed value. There&apos;s no way to get the computed value now.
http://html5.org/tools/web-apps-tracker?from=7329&amp;to=7330</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>