[html5] r7008 - [e] (0) rename TextTrackCue.direction to .vertical (and change the values accord [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Feb 22 12:11:45 PST 2012
Author: ianh
Date: 2012-02-22 12:11:43 -0800 (Wed, 22 Feb 2012)
New Revision: 7008
Modified:
complete.html
index
source
Log:
[e] (0) rename TextTrackCue.direction to .vertical (and change the values accordingly) 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:08:05 UTC (rev 7007)
+++ complete.html 2012-02-22 20:11:43 UTC (rev 7008)
@@ -33303,7 +33303,7 @@
attribute double <a href=#dom-texttrackcue-starttime title=dom-TextTrackCue-startTime>startTime</a>;
attribute double <a href=#dom-texttrackcue-endtime title=dom-TextTrackCue-endTime>endTime</a>;
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 DOMString <a href=#dom-texttrackcue-vertical title=dom-TextTrackCue-vertical>vertical</a>;
attribute boolean <a href=#dom-texttrackcue-snaptolines title=dom-TextTrackCue-snapToLines>snapToLines</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>;
@@ -33358,15 +33358,15 @@
<p>Can be set.</p>
</dd>
- <dt><var title="">cue</var> . <a href=#dom-texttrackcue-direction title=dom-TextTrackCue-direction>direction</a> [ = <var title="">value</var> ]</dt>
+ <dt><var title="">cue</var> . <a href=#dom-texttrackcue-vertical title=dom-TextTrackCue-vertical>vertical</a> [ = <var title="">value</var> ]</dt>
<dd>
<p>Returns a string representing the <a href=#text-track-cue-writing-direction>text track cue writing direction</a>, as follows:</p>
<dl class=switch><dt>If it is <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">horizontal</a></dt>
- <dd><p>The string "<code title="">horizontal</code>".</dd>
+ <dd><p>The empty string.</dd>
<dt>If it 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>The string "<code title="">vertical</code>".</dd>
+ <dd><p>The string "<code title="">rl</code>".</dd>
<dt>If it 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>The string "<code title="">vertical-lr</code>".</dd>
+ <dd><p>The string "<code title="">lr</code>".</dd>
</dl><p>Can be set.</p>
</dd>
@@ -33510,20 +33510,20 @@
flag</a> must be set if the new value is true, and must be unset
otherwise.</p>
- <p>The <dfn id=dom-texttrackcue-direction title=dom-TextTrackCue-direction><code>direction</code></dfn>
+ <p>The <dfn id=dom-texttrackcue-vertical title=dom-TextTrackCue-vertical><code>vertical</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-writing-direction>text
track cue writing direction</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-writing-direction>Text track cue writing direction</a>
- <th> <code title=dom-TextTrackCue-direction><a href=#dom-texttrackcue-direction>direction</a></code> value
+ <th> <code title=dom-TextTrackCue-direction>direction</code> value
<tbody><tr><td> <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">Horizontal</a>
- <td> "<code title="">horizontal</code>"
+ <td> "<code title=""></code>" (the empty string)
<tr><td> <a href=#text-track-cue-vertical-growing-left-writing-direction title="text track cue vertical growing left writing direction">Vertical growing left</a>
- <td> "<code title="">vertical</code>"
+ <td> "<code title="">rl</code>"
<tr><td> <a href=#text-track-cue-vertical-growing-right-writing-direction title="text track cue vertical growing right writing direction">Vertical growing right</a>
- <td> "<code title="">vertical-lr</code>"
+ <td> "<code title="">lr</code>"
</table><p>On setting, the <a href=#text-track-cue-writing-direction>text track cue writing direction</a>
must be set to the value given in the first cell of the row in the
table above whose second cell is a <a href=#case-sensitive>case-sensitive</a> match
Modified: index
===================================================================
--- index 2012-02-22 20:08:05 UTC (rev 7007)
+++ index 2012-02-22 20:11:43 UTC (rev 7008)
@@ -33303,7 +33303,7 @@
attribute double <a href=#dom-texttrackcue-starttime title=dom-TextTrackCue-startTime>startTime</a>;
attribute double <a href=#dom-texttrackcue-endtime title=dom-TextTrackCue-endTime>endTime</a>;
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 DOMString <a href=#dom-texttrackcue-vertical title=dom-TextTrackCue-vertical>vertical</a>;
attribute boolean <a href=#dom-texttrackcue-snaptolines title=dom-TextTrackCue-snapToLines>snapToLines</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>;
@@ -33358,15 +33358,15 @@
<p>Can be set.</p>
</dd>
- <dt><var title="">cue</var> . <a href=#dom-texttrackcue-direction title=dom-TextTrackCue-direction>direction</a> [ = <var title="">value</var> ]</dt>
+ <dt><var title="">cue</var> . <a href=#dom-texttrackcue-vertical title=dom-TextTrackCue-vertical>vertical</a> [ = <var title="">value</var> ]</dt>
<dd>
<p>Returns a string representing the <a href=#text-track-cue-writing-direction>text track cue writing direction</a>, as follows:</p>
<dl class=switch><dt>If it is <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">horizontal</a></dt>
- <dd><p>The string "<code title="">horizontal</code>".</dd>
+ <dd><p>The empty string.</dd>
<dt>If it 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>The string "<code title="">vertical</code>".</dd>
+ <dd><p>The string "<code title="">rl</code>".</dd>
<dt>If it 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>The string "<code title="">vertical-lr</code>".</dd>
+ <dd><p>The string "<code title="">lr</code>".</dd>
</dl><p>Can be set.</p>
</dd>
@@ -33510,20 +33510,20 @@
flag</a> must be set if the new value is true, and must be unset
otherwise.</p>
- <p>The <dfn id=dom-texttrackcue-direction title=dom-TextTrackCue-direction><code>direction</code></dfn>
+ <p>The <dfn id=dom-texttrackcue-vertical title=dom-TextTrackCue-vertical><code>vertical</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-writing-direction>text
track cue writing direction</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-writing-direction>Text track cue writing direction</a>
- <th> <code title=dom-TextTrackCue-direction><a href=#dom-texttrackcue-direction>direction</a></code> value
+ <th> <code title=dom-TextTrackCue-direction>direction</code> value
<tbody><tr><td> <a href=#text-track-cue-horizontal-writing-direction title="text track cue horizontal writing direction">Horizontal</a>
- <td> "<code title="">horizontal</code>"
+ <td> "<code title=""></code>" (the empty string)
<tr><td> <a href=#text-track-cue-vertical-growing-left-writing-direction title="text track cue vertical growing left writing direction">Vertical growing left</a>
- <td> "<code title="">vertical</code>"
+ <td> "<code title="">rl</code>"
<tr><td> <a href=#text-track-cue-vertical-growing-right-writing-direction title="text track cue vertical growing right writing direction">Vertical growing right</a>
- <td> "<code title="">vertical-lr</code>"
+ <td> "<code title="">lr</code>"
</table><p>On setting, the <a href=#text-track-cue-writing-direction>text track cue writing direction</a>
must be set to the value given in the first cell of the row in the
table above whose second cell is a <a href=#case-sensitive>case-sensitive</a> match
Modified: source
===================================================================
--- source 2012-02-22 20:08:05 UTC (rev 7007)
+++ source 2012-02-22 20:11:43 UTC (rev 7008)
@@ -36443,7 +36443,7 @@
attribute double <span title="dom-TextTrackCue-startTime">startTime</span>;
attribute double <span title="dom-TextTrackCue-endTime">endTime</span>;
attribute boolean <span title="dom-TextTrackCue-pauseOnExit">pauseOnExit</span>;
- attribute DOMString <span title="dom-TextTrackCue-direction">direction</span>;
+ attribute DOMString <span title="dom-TextTrackCue-vertical">vertical</span>;
attribute boolean <span title="dom-TextTrackCue-snapToLines">snapToLines</span>;
attribute long <span title="dom-TextTrackCue-line">line</span>;
attribute long <span title="dom-TextTrackCue-position">position</span>;
@@ -36500,16 +36500,16 @@
<p>Can be set.</p>
</dd>
- <dt><var title="">cue</var> . <span title="dom-TextTrackCue-direction">direction</span> [ = <var title="">value</var> ]</dt>
+ <dt><var title="">cue</var> . <span title="dom-TextTrackCue-vertical">vertical</span> [ = <var title="">value</var> ]</dt>
<dd>
<p>Returns a string representing the <span>text track cue writing direction</span>, as follows:</p>
<dl class="switch">
<dt>If it is <span title="text track cue horizontal writing direction">horizontal</span></dt>
- <dd><p>The string "<code title="">horizontal</code>".</p></dd>
+ <dd><p>The empty string.</p></dd>
<dt>If it is <span title="text track cue vertical growing left writing direction">vertical growing left</span></dt>
- <dd><p>The string "<code title="">vertical</code>".</p></dd>
+ <dd><p>The string "<code title="">rl</code>".</p></dd>
<dt>If it is <span title="text track cue vertical growing right writing direction">vertical growing right</span></dt>
- <dd><p>The string "<code title="">vertical-lr</code>".</p></dd>
+ <dd><p>The string "<code title="">lr</code>".</p></dd>
</dl>
<p>Can be set.</p>
</dd>
@@ -36674,7 +36674,7 @@
otherwise.</p>
<p>The <dfn
- title="dom-TextTrackCue-direction"><code>direction</code></dfn>
+ title="dom-TextTrackCue-vertical"><code>vertical</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 writing direction</span> of the <span>text track
@@ -36686,11 +36686,11 @@
<th> <code title="dom-TextTrackCue-direction">direction</code> value
<tbody>
<tr> <td> <span title="text track cue horizontal writing direction">Horizontal</span>
- <td> "<code title="">horizontal</code>"
+ <td> "<code title=""></code>" (the empty string)
<tr> <td> <span title="text track cue vertical growing left writing direction">Vertical growing left</span>
- <td> "<code title="">vertical</code>"
+ <td> "<code title="">rl</code>"
<tr> <td> <span title="text track cue vertical growing right writing direction">Vertical growing right</span>
- <td> "<code title="">vertical-lr</code>"
+ <td> "<code title="">lr</code>"
</table>
<p>On setting, the <span>text track cue writing direction</span>
More information about the Commit-Watchers
mailing list