[html5] r7006 - [e] (0) rename TextTrackCue.alignment to .align to match the setting name in VTT [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 22 12:04:45 PST 2012


Author: ianh
Date: 2012-02-22 12:04:43 -0800 (Wed, 22 Feb 2012)
New Revision: 7006

Modified:
   complete.html
   index
   source
Log:
[e] (0) rename TextTrackCue.alignment to .align to match the setting name 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 05:26:16 UTC (rev 7005)
+++ complete.html	2012-02-22 20:04:43 UTC (rev 7006)
@@ -33308,7 +33308,7 @@
            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-size title=dom-TextTrackCue-size>size</a>;
-           attribute DOMString <a href=#dom-texttrackcue-alignment title=dom-TextTrackCue-alignment>alignment</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>;
   <a href=#documentfragment>DocumentFragment</a> <a href=#dom-texttrackcue-getcueashtml title=dom-TextTrackCue-getCueAsHTML>getCueAsHTML</a>();
 
@@ -33396,7 +33396,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-alignment title=dom-TextTrackCue-alignment>alignment</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-align title=dom-TextTrackCue-align>align</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns a string representing the <a href=#text-track-cue-alignment>text track cue alignment</a>, as follows:</p>
     <dl class=switch><dt>If it is <a href=#text-track-cue-start-alignment title="text track cue start alignment">start alignment</a></dt>
@@ -33568,13 +33568,13 @@
   <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. Otherwise, set the <a href=#text-track-cue-size>text
   track cue size</a> to the new value.</p>
 
-  <p>The <dfn id=dom-texttrackcue-alignment title=dom-TextTrackCue-alignment><code>alignment</code></dfn>
+  <p>The <dfn id=dom-texttrackcue-align title=dom-TextTrackCue-align><code>align</code></dfn>
   attribute, on getting, must return the string from the second cell
   of the row in the table below whose first cell is the <a href=#text-track-cue-alignment>text
   track cue alignment</a> of the <a href=#text-track-cue>text track cue</a> that
   the <code><a href=#texttrackcue>TextTrackCue</a></code> object represents:</p>
 
-  <table><thead><tr><th><a href=#text-track-cue-alignment>Text track cue alignment</a> <th> <code title=dom-TextTrackCue-alignment><a href=#dom-texttrackcue-alignment>alignment</a></code> value
+  <table><thead><tr><th><a href=#text-track-cue-alignment>Text track cue alignment</a> <th> <code title=dom-TextTrackCue-align><a href=#dom-texttrackcue-align>align</a></code> value
    <tbody><tr><td><a href=#text-track-cue-start-alignment title="text track cue start alignment">Start alignment</a> <td> "<code title="">start</code>"
     <tr><td><a href=#text-track-cue-middle-alignment title="text track cue middle alignment">Middle alignment</a> <td> "<code title="">middle</code>"
     <tr><td><a href=#text-track-cue-end-alignment title="text track cue end alignment">End alignment</a> <td> "<code title="">end</code>"

Modified: index
===================================================================
--- index	2012-02-22 05:26:16 UTC (rev 7005)
+++ index	2012-02-22 20:04:43 UTC (rev 7006)
@@ -33308,7 +33308,7 @@
            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-size title=dom-TextTrackCue-size>size</a>;
-           attribute DOMString <a href=#dom-texttrackcue-alignment title=dom-TextTrackCue-alignment>alignment</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>;
   <a href=#documentfragment>DocumentFragment</a> <a href=#dom-texttrackcue-getcueashtml title=dom-TextTrackCue-getCueAsHTML>getCueAsHTML</a>();
 
@@ -33396,7 +33396,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-alignment title=dom-TextTrackCue-alignment>alignment</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href=#dom-texttrackcue-align title=dom-TextTrackCue-align>align</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns a string representing the <a href=#text-track-cue-alignment>text track cue alignment</a>, as follows:</p>
     <dl class=switch><dt>If it is <a href=#text-track-cue-start-alignment title="text track cue start alignment">start alignment</a></dt>
@@ -33568,13 +33568,13 @@
   <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. Otherwise, set the <a href=#text-track-cue-size>text
   track cue size</a> to the new value.</p>
 
-  <p>The <dfn id=dom-texttrackcue-alignment title=dom-TextTrackCue-alignment><code>alignment</code></dfn>
+  <p>The <dfn id=dom-texttrackcue-align title=dom-TextTrackCue-align><code>align</code></dfn>
   attribute, on getting, must return the string from the second cell
   of the row in the table below whose first cell is the <a href=#text-track-cue-alignment>text
   track cue alignment</a> of the <a href=#text-track-cue>text track cue</a> that
   the <code><a href=#texttrackcue>TextTrackCue</a></code> object represents:</p>
 
-  <table><thead><tr><th><a href=#text-track-cue-alignment>Text track cue alignment</a> <th> <code title=dom-TextTrackCue-alignment><a href=#dom-texttrackcue-alignment>alignment</a></code> value
+  <table><thead><tr><th><a href=#text-track-cue-alignment>Text track cue alignment</a> <th> <code title=dom-TextTrackCue-align><a href=#dom-texttrackcue-align>align</a></code> value
    <tbody><tr><td><a href=#text-track-cue-start-alignment title="text track cue start alignment">Start alignment</a> <td> "<code title="">start</code>"
     <tr><td><a href=#text-track-cue-middle-alignment title="text track cue middle alignment">Middle alignment</a> <td> "<code title="">middle</code>"
     <tr><td><a href=#text-track-cue-end-alignment title="text track cue end alignment">End alignment</a> <td> "<code title="">end</code>"

Modified: source
===================================================================
--- source	2012-02-22 05:26:16 UTC (rev 7005)
+++ source	2012-02-22 20:04:43 UTC (rev 7006)
@@ -36448,7 +36448,7 @@
            attribute long <span title="dom-TextTrackCue-linePosition">linePosition</span>;
            attribute long <span title="dom-TextTrackCue-textPosition">textPosition</span>;
            attribute long <span title="dom-TextTrackCue-size">size</span>;
-           attribute DOMString <span title="dom-TextTrackCue-alignment">alignment</span>;
+           attribute DOMString <span title="dom-TextTrackCue-align">align</span>;
            attribute DOMString <span title="dom-TextTrackCue-text">text</span>;
   <span>DocumentFragment</span> <span title="dom-TextTrackCue-getCueAsHTML">getCueAsHTML</span>();
 
@@ -36540,7 +36540,7 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <span title="dom-TextTrackCue-alignment">alignment</span> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <span title="dom-TextTrackCue-align">align</span> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns a string representing the <span>text track cue alignment</span>, as follows:</p>
     <dl class="switch">
@@ -36742,7 +36742,7 @@
   track cue size</span> to the new value.</p>
 
   <p>The <dfn
-  title="dom-TextTrackCue-alignment"><code>alignment</code></dfn>
+  title="dom-TextTrackCue-align"><code>align</code></dfn>
   attribute, on getting, must return the string from the second cell
   of the row in the table below whose first cell is the <span>text
   track cue alignment</span> of the <span>text track cue</span> that
@@ -36750,7 +36750,7 @@
 
   <table>
    <thead>
-    <tr> <th><span>Text track cue alignment</span> <th> <code title="dom-TextTrackCue-alignment">alignment</code> value
+    <tr> <th><span>Text track cue alignment</span> <th> <code title="dom-TextTrackCue-align">align</code> value
    <tbody>
     <tr> <td><span title="text track cue start alignment">Start alignment</span> <td> "<code title="">start</code>"
     <tr> <td><span title="text track cue middle alignment">Middle alignment</span> <td> "<code title="">middle</code>"




More information about the Commit-Watchers mailing list