[html5] r7007 - [e] (0) rename TextTrackCue.linePosition and .textPosition to .line and .positio [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 22 12:08:07 PST 2012


Author: ianh
Date: 2012-02-22 12:08:05 -0800 (Wed, 22 Feb 2012)
New Revision: 7007

Modified:
   complete.html
   index
   source
Log:
[e] (0) rename TextTrackCue.linePosition and .textPosition to .line and .position respectively to match the setting names in VTT.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=14929
Affected topics: Video Text Tracks

Modified: complete.html
===================================================================
--- complete.html	2012-02-22 20:04:43 UTC (rev 7006)
+++ complete.html	2012-02-22 20:08:05 UTC (rev 7007)
@@ -33305,8 +33305,8 @@
            attribute boolean <a href=#dom-texttrackcue-pauseonexit title=dom-TextTrackCue-pauseOnExit>pauseOnExit</a>;
            attribute DOMString <a href=#dom-texttrackcue-direction title=dom-TextTrackCue-direction>direction</a>;
            attribute boolean <a href=#dom-texttrackcue-snaptolines title=dom-TextTrackCue-snapToLines>snapToLines</a>;
-           attribute long <a href=#dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition>linePosition</a>;
-           attribute long <a href=#dom-texttrackcue-textposition title=dom-TextTrackCue-textPosition>textPosition</a>;
+           attribute long <a href=#dom-texttrackcue-line title=dom-TextTrackCue-line>line</a>;
+           attribute long <a href=#dom-texttrackcue-position title=dom-TextTrackCue-position>position</a>;
            attribute long <a href=#dom-texttrackcue-size title=dom-TextTrackCue-size>size</a>;
            attribute DOMString <a href=#dom-texttrackcue-align title=dom-TextTrackCue-align>align</a>;
            attribute DOMString <a href=#dom-texttrackcue-text title=dom-TextTrackCue-text>text</a>;
@@ -33376,7 +33376,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition>linePosition</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-line title=dom-TextTrackCue-line>line</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <a href=#text-track-cue-line-position>text track cue line position</a>. In the
     case of the value being <a href=#text-track-cue-automatic-line-position title="text track cue automatic
@@ -33384,7 +33384,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-textposition title=dom-TextTrackCue-textPosition>textPosition</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-position title=dom-TextTrackCue-position>position</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <a href=#text-track-cue-text-position>text track cue text position</a>.</p>
     <p>Can be set.</p>
@@ -33539,7 +33539,7 @@
   flag</a> must be set if the new value is true, and must be unset
   otherwise.</p>
 
-  <p>The <dfn id=dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition><code>linePosition</code></dfn>
+  <p>The <dfn id=dom-texttrackcue-line title=dom-TextTrackCue-line><code>line</code></dfn>
   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
@@ -33552,7 +33552,7 @@
   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>
 
-  <p>The <dfn id=dom-texttrackcue-textposition title=dom-TextTrackCue-textPosition><code>textPosition</code></dfn>
+  <p>The <dfn id=dom-texttrackcue-position title=dom-TextTrackCue-position><code>position</code></dfn>
   attribute, on getting, must return the <a href=#text-track-cue-text-position>text track cue text
   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 new

Modified: index
===================================================================
--- index	2012-02-22 20:04:43 UTC (rev 7006)
+++ index	2012-02-22 20:08:05 UTC (rev 7007)
@@ -33305,8 +33305,8 @@
            attribute boolean <a href=#dom-texttrackcue-pauseonexit title=dom-TextTrackCue-pauseOnExit>pauseOnExit</a>;
            attribute DOMString <a href=#dom-texttrackcue-direction title=dom-TextTrackCue-direction>direction</a>;
            attribute boolean <a href=#dom-texttrackcue-snaptolines title=dom-TextTrackCue-snapToLines>snapToLines</a>;
-           attribute long <a href=#dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition>linePosition</a>;
-           attribute long <a href=#dom-texttrackcue-textposition title=dom-TextTrackCue-textPosition>textPosition</a>;
+           attribute long <a href=#dom-texttrackcue-line title=dom-TextTrackCue-line>line</a>;
+           attribute long <a href=#dom-texttrackcue-position title=dom-TextTrackCue-position>position</a>;
            attribute long <a href=#dom-texttrackcue-size title=dom-TextTrackCue-size>size</a>;
            attribute DOMString <a href=#dom-texttrackcue-align title=dom-TextTrackCue-align>align</a>;
            attribute DOMString <a href=#dom-texttrackcue-text title=dom-TextTrackCue-text>text</a>;
@@ -33376,7 +33376,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition>linePosition</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-line title=dom-TextTrackCue-line>line</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <a href=#text-track-cue-line-position>text track cue line position</a>. In the
     case of the value being <a href=#text-track-cue-automatic-line-position title="text track cue automatic
@@ -33384,7 +33384,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-textposition title=dom-TextTrackCue-textPosition>textPosition</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-position title=dom-TextTrackCue-position>position</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <a href=#text-track-cue-text-position>text track cue text position</a>.</p>
     <p>Can be set.</p>
@@ -33539,7 +33539,7 @@
   flag</a> must be set if the new value is true, and must be unset
   otherwise.</p>
 
-  <p>The <dfn id=dom-texttrackcue-lineposition title=dom-TextTrackCue-linePosition><code>linePosition</code></dfn>
+  <p>The <dfn id=dom-texttrackcue-line title=dom-TextTrackCue-line><code>line</code></dfn>
   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
@@ -33552,7 +33552,7 @@
   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>
 
-  <p>The <dfn id=dom-texttrackcue-textposition title=dom-TextTrackCue-textPosition><code>textPosition</code></dfn>
+  <p>The <dfn id=dom-texttrackcue-position title=dom-TextTrackCue-position><code>position</code></dfn>
   attribute, on getting, must return the <a href=#text-track-cue-text-position>text track cue text
   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 new

Modified: source
===================================================================
--- source	2012-02-22 20:04:43 UTC (rev 7006)
+++ source	2012-02-22 20:08:05 UTC (rev 7007)
@@ -36445,8 +36445,8 @@
            attribute boolean <span title="dom-TextTrackCue-pauseOnExit">pauseOnExit</span>;
            attribute DOMString <span title="dom-TextTrackCue-direction">direction</span>;
            attribute boolean <span title="dom-TextTrackCue-snapToLines">snapToLines</span>;
-           attribute long <span title="dom-TextTrackCue-linePosition">linePosition</span>;
-           attribute long <span title="dom-TextTrackCue-textPosition">textPosition</span>;
+           attribute long <span title="dom-TextTrackCue-line">line</span>;
+           attribute long <span title="dom-TextTrackCue-position">position</span>;
            attribute long <span title="dom-TextTrackCue-size">size</span>;
            attribute DOMString <span title="dom-TextTrackCue-align">align</span>;
            attribute DOMString <span title="dom-TextTrackCue-text">text</span>;
@@ -36520,7 +36520,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <span title="dom-TextTrackCue-linePosition">linePosition</span> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <span title="dom-TextTrackCue-line">line</span> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <span>text track cue line position</span>. In the
     case of the value being <span title="text track cue automatic
@@ -36528,7 +36528,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <span title="dom-TextTrackCue-textPosition">textPosition</span> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <span title="dom-TextTrackCue-position">position</span> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns the <span>text track cue text position</span>.</p>
     <p>Can be set.</p>
@@ -36710,7 +36710,7 @@
   otherwise.</p>
 
   <p>The <dfn
-  title="dom-TextTrackCue-linePosition"><code>linePosition</code></dfn>
+  title="dom-TextTrackCue-line"><code>line</code></dfn>
   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
@@ -36725,7 +36725,7 @@
   value.</p>
 
   <p>The <dfn
-  title="dom-TextTrackCue-textPosition"><code>textPosition</code></dfn>
+  title="dom-TextTrackCue-position"><code>position</code></dfn>
   attribute, on getting, must return the <span>text track cue text
   position</span> of the <span>text track cue</span> that the
   <code>TextTrackCue</code> object represents. On setting, if the new




More information about the Commit-Watchers mailing list