<?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>14338</bug_id>
          
          <creation_ts>2011-09-30 08:08:28 +0000</creation_ts>
          <short_desc>&lt;track&gt; What does line position auto actually do?</short_desc>
          <delta_ts>2011-10-26 23:01:40 +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>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/#text-track-cue-automatic-line-position</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</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>57546</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-09-30 08:08:28 +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#text-track-cue-automatic-line-position
Complete: http://www.whatwg.org/c#text-track-cue-automatic-line-position

Comment:
&lt;track&gt; What does line position auto actually do?

Posted from: 83.218.67.122 by philipj@opera.com
User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.205 Version/12.00</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57547</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-09-30 08:10:41 +0000</bug_when>
    <thetext>&quot;A line position: Either a number giving the position of the lines of the cue, to be interpreted as defined by the writing direction and snap-to-lines flag of the cue, or the special value auto, which means the position is to depend on the other active tracks.&quot;

What should auto actually do here? Is it equivalent to -1, or is it completely UA-defined? If so, why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57638</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-02 16:37:58 +0000</bug_when>
    <thetext>It&apos;s all defined in the rendering section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57691</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-03 08:23:35 +0000</bug_when>
    <thetext>We can&apos;t find anything about &quot;auto&quot; and &quot;line position&quot; in http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#webvtt-cue-text-rendering-rules</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57692</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-10-03 08:31:23 +0000</bug_when>
    <thetext>I can see line position referenced several times, but the algorithm does not seem to account for the &quot;auto&quot; value. E.g. it has let top be y-position followed by vw, which would not work for auto.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57734</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-03 23:41:44 +0000</bug_when>
    <thetext>Yeah, wow. That&apos;s weird. I wonder how I missed that.

The DOM attribute for it also seems to be wrong (it gives a positive line number instead of a negative one).

I think I should fix this by introduce a new term &quot;text track cue computed line position&quot; which has the same value as the line position, unless it&apos;s auto, in which case it determines its value automatically, in the same way that the DOM attribute does now, except with a negated line number. Then, use that term in the rendering, and to define the DOM attribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59014</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-26 23:00:29 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: see comment 5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59015</commentid>
    <comment_count>7</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-26 23:01:40 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6769.
Check-in comment: Somehow the automatic feature of cue line position was never properly specified.
http://html5.org/tools/web-apps-tracker?from=6768&amp;to=6769</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>