Skip to content

Commit

Permalink
[e] (0) rename TextTrackCue.direction to .vertical (and change the va…
Browse files Browse the repository at this point in the history
…lues 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

git-svn-id: http://svn.whatwg.org/webapps@7008 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 22, 2012
1 parent bd58808 commit ef639fa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
20 changes: 10 additions & 10 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -33303,7 +33303,7 @@ <h6 id=text-track-api><span class=secno>4.8.10.12.5 </span>Text track API</h6>
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>;
Expand Down Expand Up @@ -33358,15 +33358,15 @@ <h6 id=text-track-api><span class=secno>4.8.10.12.5 </span>Text track API</h6>
<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>

Expand Down Expand Up @@ -33510,20 +33510,20 @@ <h6 id=text-track-api><span class=secno>4.8.10.12.5 </span>Text track API</h6>
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
Expand Down
20 changes: 10 additions & 10 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -33303,7 +33303,7 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTa
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>;
Expand Down Expand Up @@ -33358,15 +33358,15 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTa
<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>

Expand Down Expand Up @@ -33510,20 +33510,20 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTa
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
Expand Down
18 changes: 9 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -36443,7 +36443,7 @@ interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
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>;
Expand Down Expand Up @@ -36500,16 +36500,16 @@ interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
<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>
Expand Down Expand Up @@ -36674,7 +36674,7 @@ interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
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
Expand All @@ -36686,11 +36686,11 @@ interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
<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>
Expand Down

0 comments on commit ef639fa

Please sign in to comment.