Navigation Menu

Skip to content

Commit

Permalink
[giow] (0) s/name/label/ since we call this kind of thing a label els…
Browse files Browse the repository at this point in the history
…ewhere

git-svn-id: http://svn.whatwg.org/webapps@6010 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 15, 2011
1 parent 1db4176 commit 4ca20b8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
20 changes: 10 additions & 10 deletions complete.html
Expand Up @@ -28624,7 +28624,7 @@ <h6 id=tracklist-objects><span class=secno>4.8.10.10.1 </span><code><a href=#tra

<pre class=idl>interface <dfn id=tracklist>TrackList</dfn> {
readonly attribute unsigned long <a href=#dom-tracklist-length title=dom-TrackList-length>length</a>;
DOMString <a href=#dom-tracklist-getname title=dom-TrackList-getName>getName</a>(in unsigned long index);
DOMString <a href=#dom-tracklist-getlabel title=dom-TrackList-getLabel>getLabel</a>(in unsigned long index);
DOMString <a href=#dom-tracklist-getlanguage title=dom-TrackList-getLanguage>getLanguage</a>(in unsigned long index);

attribute <a href=#function>Function</a> <a href=#handler-tracklist-onchange title=handler-TrackList-onchange>onchange</a>;
Expand All @@ -28649,11 +28649,11 @@ <h6 id=tracklist-objects><span class=secno>4.8.10.10.1 </span><code><a href=#tra

</dd>

<dt><var title="">name</var> = <var title="">tracks</var> . <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName</a></code>( <var title="">index</var> )</dt>
<dt><var title="">label</var> = <var title="">tracks</var> . <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel</a></code>( <var title="">index</var> )</dt>

<dd>

<p>Returns the name of the given track, if known, or the empty string otherwise.</p>
<p>Returns the label of the given track, if known, or the empty string otherwise.</p>

</dd>

Expand Down Expand Up @@ -28719,11 +28719,11 @@ <h6 id=tracklist-objects><span class=secno>4.8.10.10.1 </span><code><a href=#tra
thus has an index; the first has the index 0, and each subsequent
track is numbered one higher than the previous one.</p>

<p>The <dfn id=dom-tracklist-getname title=dom-TrackList-getName><code>getName(<var title="">index</var>)</code></dfn> method must return the name of
<p>The <dfn id=dom-tracklist-getlabel title=dom-TrackList-getLabel><code>getLabel(<var title="">index</var>)</code></dfn> method must return the label of
the track with index <var title="">index</var>, if there is one and
it has a name. If there is no such track, then the method must
it has a label. If there is no such track, then the method must
instead throw an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code> exception. If there is
a track with index <var title="">index</var>, but it has no name,
a track with index <var title="">index</var>, but it has no label,
then the method must return the empty string.</p>

<p>The <dfn id=dom-tracklist-getlanguage title=dom-TrackList-getLanguage><code>getLanguage(<var title="">index</var>)</code></dfn> method must return the BCP 47
Expand Down Expand Up @@ -73058,12 +73058,12 @@ <h3 id=stream-api><span class=secno>9.3 </span>Stream API</h3>
the selected video source, if any.</p>

<p>User agents may label audio and video sources (e.g. "Internal
microphone" or "External USB Webcam"), in which case the <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName()</a></code> methods (on the
microphone" or "External USB Webcam"), in which case the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods (on the
<code><a href=#multipletracklist>MultipleTrackList</a></code> and <code><a href=#exclusivetracklist>ExclusiveTrackList</a></code>
objects) must use the labels the user agent has assigned as the
track names of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
object. Otherwise, the <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName()</a></code> methods must use the
empty string as the track names of the source tracks of the
track labels of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
object. Otherwise, the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods must use the
empty string as the track labels of the source tracks of the
<code><a href=#generatedstream>GeneratedStream</a></code> object. The <code title=dom-TrackList-getLanguage><a href=#dom-tracklist-getlanguage>getLanguage()</a></code> methods must
use the empty string as the track language for all the source tracks
of the <code><a href=#generatedstream>GeneratedStream</a></code> object.</p>
Expand Down
20 changes: 10 additions & 10 deletions index
Expand Up @@ -28636,7 +28636,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<pre class=idl>interface <dfn id=tracklist>TrackList</dfn> {
readonly attribute unsigned long <a href=#dom-tracklist-length title=dom-TrackList-length>length</a>;
DOMString <a href=#dom-tracklist-getname title=dom-TrackList-getName>getName</a>(in unsigned long index);
DOMString <a href=#dom-tracklist-getlabel title=dom-TrackList-getLabel>getLabel</a>(in unsigned long index);
DOMString <a href=#dom-tracklist-getlanguage title=dom-TrackList-getLanguage>getLanguage</a>(in unsigned long index);

attribute <a href=#function>Function</a> <a href=#handler-tracklist-onchange title=handler-TrackList-onchange>onchange</a>;
Expand All @@ -28661,11 +28661,11 @@ interface <dfn id=exclusivetracklist>ExclusiveTrackList</dfn> : <a href=#trackli

</dd>

<dt><var title="">name</var> = <var title="">tracks</var> . <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName</a></code>( <var title="">index</var> )</dt>
<dt><var title="">label</var> = <var title="">tracks</var> . <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel</a></code>( <var title="">index</var> )</dt>

<dd>

<p>Returns the name of the given track, if known, or the empty string otherwise.</p>
<p>Returns the label of the given track, if known, or the empty string otherwise.</p>

</dd>

Expand Down Expand Up @@ -28731,11 +28731,11 @@ interface <dfn id=exclusivetracklist>ExclusiveTrackList</dfn> : <a href=#trackli
thus has an index; the first has the index 0, and each subsequent
track is numbered one higher than the previous one.</p>

<p>The <dfn id=dom-tracklist-getname title=dom-TrackList-getName><code>getName(<var title="">index</var>)</code></dfn> method must return the name of
<p>The <dfn id=dom-tracklist-getlabel title=dom-TrackList-getLabel><code>getLabel(<var title="">index</var>)</code></dfn> method must return the label of
the track with index <var title="">index</var>, if there is one and
it has a name. If there is no such track, then the method must
it has a label. If there is no such track, then the method must
instead throw an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code> exception. If there is
a track with index <var title="">index</var>, but it has no name,
a track with index <var title="">index</var>, but it has no label,
then the method must return the empty string.</p>

<p>The <dfn id=dom-tracklist-getlanguage title=dom-TrackList-getLanguage><code>getLanguage(<var title="">index</var>)</code></dfn> method must return the BCP 47
Expand Down Expand Up @@ -73096,12 +73096,12 @@ interface <dfn id=generatedstream>GeneratedStream</dfn> : <a href=#stream>Stream
the selected video source, if any.</p>

<p>User agents may label audio and video sources (e.g. "Internal
microphone" or "External USB Webcam"), in which case the <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName()</a></code> methods (on the
microphone" or "External USB Webcam"), in which case the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods (on the
<code><a href=#multipletracklist>MultipleTrackList</a></code> and <code><a href=#exclusivetracklist>ExclusiveTrackList</a></code>
objects) must use the labels the user agent has assigned as the
track names of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
object. Otherwise, the <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName()</a></code> methods must use the
empty string as the track names of the source tracks of the
track labels of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
object. Otherwise, the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods must use the
empty string as the track labels of the source tracks of the
<code><a href=#generatedstream>GeneratedStream</a></code> object. The <code title=dom-TrackList-getLanguage><a href=#dom-tracklist-getlanguage>getLanguage()</a></code> methods must
use the empty string as the track language for all the source tracks
of the <code><a href=#generatedstream>GeneratedStream</a></code> object.</p>
Expand Down
22 changes: 11 additions & 11 deletions source
Expand Up @@ -31198,7 +31198,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>

<pre class="idl">interface <dfn>TrackList</dfn> {
readonly attribute unsigned long <span title="dom-TrackList-length">length</span>;
DOMString <span title="dom-TrackList-getName">getName</span>(in unsigned long index);
DOMString <span title="dom-TrackList-getLabel">getLabel</span>(in unsigned long index);
DOMString <span title="dom-TrackList-getLanguage">getLanguage</span>(in unsigned long index);

attribute <span>Function</span> <span title="handler-TrackList-onchange">onchange</span>;
Expand All @@ -31225,11 +31225,11 @@ interface <dfn>ExclusiveTrackList</dfn> : <span>TrackList</span> {

</dd>

<dt><var title="">name</var> = <var title="">tracks</var> . <code title="dom-TrackList-getName">getName</code>( <var title="">index</var> )</dt>
<dt><var title="">label</var> = <var title="">tracks</var> . <code title="dom-TrackList-getLabel">getLabel</code>( <var title="">index</var> )</dt>

<dd>

<p>Returns the name of the given track, if known, or the empty string otherwise.</p>
<p>Returns the label of the given track, if known, or the empty string otherwise.</p>

</dd>

Expand Down Expand Up @@ -31297,12 +31297,12 @@ interface <dfn>ExclusiveTrackList</dfn> : <span>TrackList</span> {
thus has an index; the first has the index 0, and each subsequent
track is numbered one higher than the previous one.</p>

<p>The <dfn title="dom-TrackList-getName"><code>getName(<var
title="">index</var>)</code></dfn> method must return the name of
<p>The <dfn title="dom-TrackList-getLabel"><code>getLabel(<var
title="">index</var>)</code></dfn> method must return the label of
the track with index <var title="">index</var>, if there is one and
it has a name. If there is no such track, then the method must
it has a label. If there is no such track, then the method must
instead throw an <code>INDEX_SIZE_ERR</code> exception. If there is
a track with index <var title="">index</var>, but it has no name,
a track with index <var title="">index</var>, but it has no label,
then the method must return the empty string.</p>

<p>The <dfn title="dom-TrackList-getLanguage"><code>getLanguage(<var
Expand Down Expand Up @@ -83447,13 +83447,13 @@ interface <dfn>GeneratedStream</dfn> : <span>Stream</span> {

<p>User agents may label audio and video sources (e.g. "Internal
microphone" or "External USB Webcam"), in which case the <code
title="dom-TrackList-getName">getName()</code> methods (on the
title="dom-TrackList-getLabel">getLabel()</code> methods (on the
<code>MultipleTrackList</code> and <code>ExclusiveTrackList</code>
objects) must use the labels the user agent has assigned as the
track names of the source tracks of the <code>GeneratedStream</code>
track labels of the source tracks of the <code>GeneratedStream</code>
object. Otherwise, the <code
title="dom-TrackList-getName">getName()</code> methods must use the
empty string as the track names of the source tracks of the
title="dom-TrackList-getLabel">getLabel()</code> methods must use the
empty string as the track labels of the source tracks of the
<code>GeneratedStream</code> object. The <code
title="dom-TrackList-getLanguage">getLanguage()</code> methods must
use the empty string as the track language for all the source tracks
Expand Down

0 comments on commit 4ca20b8

Please sign in to comment.