[html5] r6769 - [giow] (0) Somehow the automatic feature of cue line position was never properly [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 26 15:57:22 PDT 2011


Author: ianh
Date: 2011-10-26 15:57:20 -0700 (Wed, 26 Oct 2011)
New Revision: 6769

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Somehow the automatic feature of cue line position was never properly specified.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14338

Modified: complete.html
===================================================================
--- complete.html	2011-10-26 22:34:29 UTC (rev 6768)
+++ complete.html	2011-10-26 22:57:20 UTC (rev 6769)
@@ -31033,8 +31033,44 @@
     cue, or the special value <dfn id=text-track-cue-automatic-line-position title="text track cue automatic line
     position">auto</dfn>, which means the position is to depend on
     the other active tracks.</p>
-   </dd>
 
+    <p>A <a href=#text-track-cue>text track cue</a> has a <dfn id=text-track-cue-computed-line-position>text track cue
+    computed line position</dfn> whose value is defined in terms of
+    the other aspects of the cue. If the <a href=#text-track-cue-line-position>text track cue line
+    position</a> is numeric, then that is the <a href=#text-track-cue-computed-line-position>text track cue
+    computed line position</a>. Otherwise, the <a href=#text-track-cue-line-position>text track cue
+    line position</a> is the special value <a href=#text-track-cue-automatic-line-position title="text track
+    cue automatic line position">auto</a>; if the <a href=#text-track-cue-snap-to-lines-flag>text track
+    cue snap-to-lines flag</a> of the <a href=#text-track-cue>text track cue</a>
+    is not set, the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>
+    is the value 100; otherwise, it is the value returned by the
+    following algorithm:</p>
+
+    <ol><li><p>Let <var title="">cue</var> be the <a href=#text-track-cue>text track
+     cue</a>.</li>
+
+     <li><p>If <var title="">cue</var> is not associated with a
+     <a href=#text-track>text track</a>, return −1 and abort these
+     steps.</li>
+
+     <li><p>Let <var title="">track</var> be the <a href=#text-track>text
+     track</a> that the <var title="">cue</var> is associated
+     with.</li>
+
+     <li><p>Let <var title="">n</var> be the number of <a href=#text-track title="text track">text tracks</a> whose <a href=#text-track-mode>text track
+     mode</a> is <a href=#text-track-showing title="text track showing">showing</a> or
+     <a href=#text-track-showing-by-default title="text track showing by default">showing by
+     default</a> and that are in the <a href=#media-element>media element</a>'s
+     <a href=#list-of-text-tracks>list of text tracks</a> before <var title="">track</var>.</li>
+
+     <li><p>Decrement <var title="">n</var> by one.</li>
+
+     <li><p>Negate <var title="">n</var>.</li>
+
+     <li><p>Return <var title="">n</var>.</li>
+
+    </ol></dd>
+
    <dt><dfn id=text-track-cue-text-position title="text track cue text position">A text position</dfn>
    <dd>
     <p>A number giving the position of the text of the cue within each
@@ -32278,40 +32314,14 @@
   otherwise.</p>
 
   <p>The <dfn id=dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition><code>linePosition</code></dfn>
-  attribute, on getting, must return the <a href=#text-track-cue-line-position>text track cue line
-  position</a> of the <a href=#text-track-cue>text track cue</a> that the
-  <code><a href=#texttrackcue>TextTrackCue</a></code> object represents, if that value is
-  numeric. Otherwise, the value is the special value <a href=#text-track-cue-automatic-line-position title="text
-  track cue automatic line position">auto</a>; if the <a href=#text-track-cue-snap-to-lines-flag>text
-  track cue snap-to-lines flag</a> of the <a href=#text-track-cue>text track
-  cue</a> that the <code><a href=#texttrackcue>TextTrackCue</a></code> object represents is
-  not set, the attribute must return the value 100; otherwise, it must
-  return the value returned by the following algorithm:</p>
+  attribute, on getting, must return the <a href=#text-track-cue-computed-line-position>text track cue computed
+  line position</a> of the <a href=#text-track-cue>text track cue</a> that the
+  <code><a href=#texttrackcue>TextTrackCue</a></code> object represents. On setting, if the
+  <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a> is not set, and the
+  new value is negative or greater than 100, then throw an
+  <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. Otherwise, set the <a href=#text-track-cue-line-position>text
+  track cue line position</a> to the new value.</p>
 
-  <ol><li><p>Let <var title="">cue</var> be the <a href=#text-track-cue>text track
-   cue</a> that the <code><a href=#texttrackcue>TextTrackCue</a></code> object
-   represents.</li>
-
-   <li><p>If <var title="">cue</var> is not associated with a
-   <a href=#text-track>text track</a>, return −1 and abort these
-   steps.</li>
-
-   <li><p>Let <var title="">track</var> be the <a href=#text-track>text track</a>
-   that the <var title="">cue</var> is associated with.</li>
-
-   <li><p>Let <var title="">n</var> be the number of <a href=#text-track title="text
-   track">text tracks</a> whose <a href=#text-track-mode>text track mode</a> is
-   <a href=#text-track-showing title="text track showing">showing</a> or <a href=#text-track-showing-by-default title="text track showing by default">showing by default</a> and
-   that are in the <a href=#media-element>media element</a>'s <a href=#list-of-text-tracks>list of text
-   tracks</a> before <var title="">track</var>.</li>
-
-   <li><p>Return <var title="">n</var>.</li>
-
-  </ol><p>On setting, if the <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a>
-  is not set, and the new value is negative or greater than 100, then
-  throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. Otherwise, set the
-  <a href=#text-track-cue-line-position>text track cue line position</a> to the new value.</p>
-
   <p class=note>There is no way to explicitly set the <a href=#text-track-cue-line-position>text
   track cue line position</a> to the special default <a href=#text-track-cue-automatic-line-position title="text track cue automatic line position">auto</a>
   value.</p>
@@ -94070,7 +94080,7 @@
        <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">horizontal</a>,
               and the <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a> is not set</dt>
        <dd>
-        <p>Let <var title="">y-position</var> be the <a href=#text-track-cue-line-position>text track cue line position</a>.</p>
+        <p>Let <var title="">y-position</var> be the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</p>
        </dd>
 
        <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-left-writing-direction title="text track cue vertical growing left writing direction">vertical growing left</a>,
@@ -94086,7 +94096,7 @@
        <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-right-writing-direction title="text track cue vertical growing right writing direction">vertical growing right</a>,
               and the <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a> is not set</dt>
        <dd>
-        <p>Let <var title="">x-position</var> be the <a href=#text-track-cue-line-position>text track cue line position</a>.</p>
+        <p>Let <var title="">x-position</var> be the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</p>
        </dd>
 
       </dl></li>
@@ -94198,7 +94208,7 @@
          step labeled <i>done positioning</i> below.</li>
 
          <li><p>Let <var title="">line position</var> be the
-         <a href=#text-track-cue-line-position>text track cue line position</a>.</li>
+         <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</li>
 
          <li><p><strong>Vertical Growing Left</strong>: Add one to
          <var title="">line position</var> then negate it.</li>
@@ -94299,8 +94309,8 @@
                   and <var title="">direction</var> is 'ltr'</dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <a href=#text-track-cue-text-position>text track cue text position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-line-position>text
-            track cue line position</a>.</p>
+            <a href=#text-track-cue-text-position>text track cue text position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-computed-line-position>text
+            track cue computed line position</a>.</p>
            </dd>
 
            <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">horizontal</a>,
@@ -94309,13 +94319,13 @@
             <p>Let <var title="">x</var> be a percentage given by the
             <a href=#text-track-cue-text-position>text track cue text position</a> subtracted from
             100, and let <var title="">y</var> be a percentage given
-            by the <a href=#text-track-cue-line-position>text track cue line position</a>.</p>
+            by the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</p>
            </dd>
 
            <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-left-writing-direction title="text track cue vertical growing left writing direction">vertical growing left</a></dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <a href=#text-track-cue-line-position>text track cue line position</a> subtracted from
+            <a href=#text-track-cue-computed-line-position>text track cue computed line position</a> subtracted from
             100, and let <var title="">y</var> be a percentage given
             by the <a href=#text-track-cue-text-position>text track cue text position</a>.</p>
            </dd>
@@ -94323,7 +94333,7 @@
            <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-right-writing-direction title="text track cue vertical growing right writing direction">vertical growing right</a></dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <a href=#text-track-cue-line-position>text track cue line position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-text-position>text
+            <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-text-position>text
             track cue text position</a>.</p>
            </dd>
 

Modified: index
===================================================================
--- index	2011-10-26 22:34:29 UTC (rev 6768)
+++ index	2011-10-26 22:57:20 UTC (rev 6769)
@@ -31033,8 +31033,44 @@
     cue, or the special value <dfn id=text-track-cue-automatic-line-position title="text track cue automatic line
     position">auto</dfn>, which means the position is to depend on
     the other active tracks.</p>
-   </dd>
 
+    <p>A <a href=#text-track-cue>text track cue</a> has a <dfn id=text-track-cue-computed-line-position>text track cue
+    computed line position</dfn> whose value is defined in terms of
+    the other aspects of the cue. If the <a href=#text-track-cue-line-position>text track cue line
+    position</a> is numeric, then that is the <a href=#text-track-cue-computed-line-position>text track cue
+    computed line position</a>. Otherwise, the <a href=#text-track-cue-line-position>text track cue
+    line position</a> is the special value <a href=#text-track-cue-automatic-line-position title="text track
+    cue automatic line position">auto</a>; if the <a href=#text-track-cue-snap-to-lines-flag>text track
+    cue snap-to-lines flag</a> of the <a href=#text-track-cue>text track cue</a>
+    is not set, the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>
+    is the value 100; otherwise, it is the value returned by the
+    following algorithm:</p>
+
+    <ol><li><p>Let <var title="">cue</var> be the <a href=#text-track-cue>text track
+     cue</a>.</li>
+
+     <li><p>If <var title="">cue</var> is not associated with a
+     <a href=#text-track>text track</a>, return −1 and abort these
+     steps.</li>
+
+     <li><p>Let <var title="">track</var> be the <a href=#text-track>text
+     track</a> that the <var title="">cue</var> is associated
+     with.</li>
+
+     <li><p>Let <var title="">n</var> be the number of <a href=#text-track title="text track">text tracks</a> whose <a href=#text-track-mode>text track
+     mode</a> is <a href=#text-track-showing title="text track showing">showing</a> or
+     <a href=#text-track-showing-by-default title="text track showing by default">showing by
+     default</a> and that are in the <a href=#media-element>media element</a>'s
+     <a href=#list-of-text-tracks>list of text tracks</a> before <var title="">track</var>.</li>
+
+     <li><p>Decrement <var title="">n</var> by one.</li>
+
+     <li><p>Negate <var title="">n</var>.</li>
+
+     <li><p>Return <var title="">n</var>.</li>
+
+    </ol></dd>
+
    <dt><dfn id=text-track-cue-text-position title="text track cue text position">A text position</dfn>
    <dd>
     <p>A number giving the position of the text of the cue within each
@@ -32278,40 +32314,14 @@
   otherwise.</p>
 
   <p>The <dfn id=dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition><code>linePosition</code></dfn>
-  attribute, on getting, must return the <a href=#text-track-cue-line-position>text track cue line
-  position</a> of the <a href=#text-track-cue>text track cue</a> that the
-  <code><a href=#texttrackcue>TextTrackCue</a></code> object represents, if that value is
-  numeric. Otherwise, the value is the special value <a href=#text-track-cue-automatic-line-position title="text
-  track cue automatic line position">auto</a>; if the <a href=#text-track-cue-snap-to-lines-flag>text
-  track cue snap-to-lines flag</a> of the <a href=#text-track-cue>text track
-  cue</a> that the <code><a href=#texttrackcue>TextTrackCue</a></code> object represents is
-  not set, the attribute must return the value 100; otherwise, it must
-  return the value returned by the following algorithm:</p>
+  attribute, on getting, must return the <a href=#text-track-cue-computed-line-position>text track cue computed
+  line position</a> of the <a href=#text-track-cue>text track cue</a> that the
+  <code><a href=#texttrackcue>TextTrackCue</a></code> object represents. On setting, if the
+  <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a> is not set, and the
+  new value is negative or greater than 100, then throw an
+  <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. Otherwise, set the <a href=#text-track-cue-line-position>text
+  track cue line position</a> to the new value.</p>
 
-  <ol><li><p>Let <var title="">cue</var> be the <a href=#text-track-cue>text track
-   cue</a> that the <code><a href=#texttrackcue>TextTrackCue</a></code> object
-   represents.</li>
-
-   <li><p>If <var title="">cue</var> is not associated with a
-   <a href=#text-track>text track</a>, return −1 and abort these
-   steps.</li>
-
-   <li><p>Let <var title="">track</var> be the <a href=#text-track>text track</a>
-   that the <var title="">cue</var> is associated with.</li>
-
-   <li><p>Let <var title="">n</var> be the number of <a href=#text-track title="text
-   track">text tracks</a> whose <a href=#text-track-mode>text track mode</a> is
-   <a href=#text-track-showing title="text track showing">showing</a> or <a href=#text-track-showing-by-default title="text track showing by default">showing by default</a> and
-   that are in the <a href=#media-element>media element</a>'s <a href=#list-of-text-tracks>list of text
-   tracks</a> before <var title="">track</var>.</li>
-
-   <li><p>Return <var title="">n</var>.</li>
-
-  </ol><p>On setting, if the <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a>
-  is not set, and the new value is negative or greater than 100, then
-  throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. Otherwise, set the
-  <a href=#text-track-cue-line-position>text track cue line position</a> to the new value.</p>
-
   <p class=note>There is no way to explicitly set the <a href=#text-track-cue-line-position>text
   track cue line position</a> to the special default <a href=#text-track-cue-automatic-line-position title="text track cue automatic line position">auto</a>
   value.</p>
@@ -94070,7 +94080,7 @@
        <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">horizontal</a>,
               and the <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a> is not set</dt>
        <dd>
-        <p>Let <var title="">y-position</var> be the <a href=#text-track-cue-line-position>text track cue line position</a>.</p>
+        <p>Let <var title="">y-position</var> be the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</p>
        </dd>
 
        <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-left-writing-direction title="text track cue vertical growing left writing direction">vertical growing left</a>,
@@ -94086,7 +94096,7 @@
        <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-right-writing-direction title="text track cue vertical growing right writing direction">vertical growing right</a>,
               and the <a href=#text-track-cue-snap-to-lines-flag>text track cue snap-to-lines flag</a> is not set</dt>
        <dd>
-        <p>Let <var title="">x-position</var> be the <a href=#text-track-cue-line-position>text track cue line position</a>.</p>
+        <p>Let <var title="">x-position</var> be the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</p>
        </dd>
 
       </dl></li>
@@ -94198,7 +94208,7 @@
          step labeled <i>done positioning</i> below.</li>
 
          <li><p>Let <var title="">line position</var> be the
-         <a href=#text-track-cue-line-position>text track cue line position</a>.</li>
+         <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</li>
 
          <li><p><strong>Vertical Growing Left</strong>: Add one to
          <var title="">line position</var> then negate it.</li>
@@ -94299,8 +94309,8 @@
                   and <var title="">direction</var> is 'ltr'</dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <a href=#text-track-cue-text-position>text track cue text position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-line-position>text
-            track cue line position</a>.</p>
+            <a href=#text-track-cue-text-position>text track cue text position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-computed-line-position>text
+            track cue computed line position</a>.</p>
            </dd>
 
            <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">horizontal</a>,
@@ -94309,13 +94319,13 @@
             <p>Let <var title="">x</var> be a percentage given by the
             <a href=#text-track-cue-text-position>text track cue text position</a> subtracted from
             100, and let <var title="">y</var> be a percentage given
-            by the <a href=#text-track-cue-line-position>text track cue line position</a>.</p>
+            by the <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>.</p>
            </dd>
 
            <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-left-writing-direction title="text track cue vertical growing left writing direction">vertical growing left</a></dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <a href=#text-track-cue-line-position>text track cue line position</a> subtracted from
+            <a href=#text-track-cue-computed-line-position>text track cue computed line position</a> subtracted from
             100, and let <var title="">y</var> be a percentage given
             by the <a href=#text-track-cue-text-position>text track cue text position</a>.</p>
            </dd>
@@ -94323,7 +94333,7 @@
            <dt>If the <a href=#text-track-cue-writing-direction>text track cue writing direction</a> is <a href=#text-track-cue-vertical-growing-right-writing-direction title="text track cue vertical growing right writing direction">vertical growing right</a></dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <a href=#text-track-cue-line-position>text track cue line position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-text-position>text
+            <a href=#text-track-cue-computed-line-position>text track cue computed line position</a>, and let <var title="">y</var> be a percentage given by the <a href=#text-track-cue-text-position>text
             track cue text position</a>.</p>
            </dd>
 

Modified: source
===================================================================
--- source	2011-10-26 22:34:29 UTC (rev 6768)
+++ source	2011-10-26 22:57:20 UTC (rev 6769)
@@ -33826,6 +33826,48 @@
     cue, or the special value <dfn title="text track cue automatic line
     position">auto</dfn>, which means the position is to depend on
     the other active tracks.</p>
+
+    <p>A <span>text track cue</span> has a <dfn>text track cue
+    computed line position</dfn> whose value is defined in terms of
+    the other aspects of the cue. If the <span>text track cue line
+    position</span> is numeric, then that is the <span>text track cue
+    computed line position</span>. Otherwise, the <span>text track cue
+    line position</span> is the special value <span title="text track
+    cue automatic line position">auto</span>; if the <span>text track
+    cue snap-to-lines flag</span> of the <span>text track cue</span>
+    is not set, the <span>text track cue computed line position</span>
+    is the value 100; otherwise, it is the value returned by the
+    following algorithm:</p>
+
+    <ol>
+
+     <li><p>Let <var title="">cue</var> be the <span>text track
+     cue</span>.</p></li>
+
+     <li><p>If <var title="">cue</var> is not associated with a
+     <span>text track</span>, return &#x2212;1 and abort these
+     steps.</p></li>
+
+     <li><p>Let <var title="">track</var> be the <span>text
+     track</span> that the <var title="">cue</var> is associated
+     with.</p></li>
+
+     <li><p>Let <var title="">n</var> be the number of <span
+     title="text track">text tracks</span> whose <span>text track
+     mode</span> is <span title="text track showing">showing</span> or
+     <span title="text track showing by default">showing by
+     default</span> and that are in the <span>media element</span>'s
+     <span>list of text tracks</span> before <var
+     title="">track</var>.</p></li>
+
+     <li><p>Decrement <var title="">n</var> by one.</p></li>
+
+     <li><p>Negate <var title="">n</var>.</p></li>
+
+     <li><p>Return <var title="">n</var>.</p></li>
+
+    </ol>
+
    </dd>
 
    <dt><dfn title="text track cue text position">A text position</dfn>
@@ -35248,45 +35290,14 @@
 
   <p>The <dfn
   title="dom-TextTrackCue-linePosition"><code>linePosition</code></dfn>
-  attribute, on getting, must return the <span>text track cue line
-  position</span> of the <span>text track cue</span> that the
-  <code>TextTrackCue</code> object represents, if that value is
-  numeric. Otherwise, the value is the special value <span title="text
-  track cue automatic line position">auto</span>; if the <span>text
-  track cue snap-to-lines flag</span> of the <span>text track
-  cue</span> that the <code>TextTrackCue</code> object represents is
-  not set, the attribute must return the value 100; otherwise, it must
-  return the value returned by the following algorithm:</p>
+  attribute, on getting, must return the <span>text track cue computed
+  line position</span> of the <span>text track cue</span> that the
+  <code>TextTrackCue</code> object represents. On setting, if the
+  <span>text track cue snap-to-lines flag</span> is not set, and the
+  new value is negative or greater than 100, then throw an
+  <code>IndexSizeError</code> exception. Otherwise, set the <span>text
+  track cue line position</span> to the new value.</p>
 
-  <ol>
-
-   <li><p>Let <var title="">cue</var> be the <span>text track
-   cue</span> that the <code>TextTrackCue</code> object
-   represents.</p></li>
-
-   <li><p>If <var title="">cue</var> is not associated with a
-   <span>text track</span>, return &#x2212;1 and abort these
-   steps.</p></li>
-
-   <li><p>Let <var title="">track</var> be the <span>text track</span>
-   that the <var title="">cue</var> is associated with.</p></li>
-
-   <li><p>Let <var title="">n</var> be the number of <span title="text
-   track">text tracks</span> whose <span>text track mode</span> is
-   <span title="text track showing">showing</span> or <span
-   title="text track showing by default">showing by default</span> and
-   that are in the <span>media element</span>'s <span>list of text
-   tracks</span> before <var title="">track</var>.</p></li>
-
-   <li><p>Return <var title="">n</var>.</p></li>
-
-  </ol>
-
-  <p>On setting, if the <span>text track cue snap-to-lines flag</span>
-  is not set, and the new value is negative or greater than 100, then
-  throw an <code>IndexSizeError</code> exception. Otherwise, set the
-  <span>text track cue line position</span> to the new value.</p>
-
   <p class="note">There is no way to explicitly set the <span>text
   track cue line position</span> to the special default <span
   title="text track cue automatic line position">auto</span>
@@ -106621,7 +106632,7 @@
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
               and the <span>text track cue snap-to-lines flag</span> is not set</dt>
        <dd>
-        <p>Let <var title="">y-position</var> be the <span>text track cue line position</span>.</p>
+        <p>Let <var title="">y-position</var> be the <span>text track cue computed line position</span>.</p>
        </dd>
 
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing left writing direction">vertical growing left</span>,
@@ -106637,7 +106648,7 @@
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing right writing direction">vertical growing right</span>,
               and the <span>text track cue snap-to-lines flag</span> is not set</dt>
        <dd>
-        <p>Let <var title="">x-position</var> be the <span>text track cue line position</span>.</p>
+        <p>Let <var title="">x-position</var> be the <span>text track cue computed line position</span>.</p>
        </dd>
 
       </dl>
@@ -106769,7 +106780,7 @@
          step labeled <i>done positioning</i> below.</p></li>
 
          <li><p>Let <var title="">line position</var> be the
-         <span>text track cue line position</span>.</p></li>
+         <span>text track cue computed line position</span>.</p></li>
 
          <li><p><strong>Vertical Growing Left</strong>: Add one to
          <var title="">line position</var> then negate it.</p></li>
@@ -106904,7 +106915,7 @@
             <p>Let <var title="">x</var> be a percentage given by the
             <span>text track cue text position</span>, and let <var
             title="">y</var> be a percentage given by the <span>text
-            track cue line position</span>.</p>
+            track cue computed line position</span>.</p>
            </dd>
 
            <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
@@ -106913,13 +106924,13 @@
             <p>Let <var title="">x</var> be a percentage given by the
             <span>text track cue text position</span> subtracted from
             100, and let <var title="">y</var> be a percentage given
-            by the <span>text track cue line position</span>.</p>
+            by the <span>text track cue computed line position</span>.</p>
            </dd>
 
            <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing left writing direction">vertical growing left</span></dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <span>text track cue line position</span> subtracted from
+            <span>text track cue computed line position</span> subtracted from
             100, and let <var title="">y</var> be a percentage given
             by the <span>text track cue text position</span>.</p>
            </dd>
@@ -106927,7 +106938,7 @@
            <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing right writing direction">vertical growing right</span></dt>
            <dd>
             <p>Let <var title="">x</var> be a percentage given by the
-            <span>text track cue line position</span>, and let <var
+            <span>text track cue computed line position</span>, and let <var
             title="">y</var> be a percentage given by the <span>text
             track cue text position</span>.</p>
            </dd>




More information about the Commit-Watchers mailing list