Skip to content
Permalink
Browse files

[agiow] (0) Rename media.tracks to media.textTracks so we can introdu…

…ce media.audioTracks and media.videoTracks later

git-svn-id: http://svn.whatwg.org/webapps@5960 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Mar 21, 2011
1 parent d05b6a9 commit c996f32071f681540ee8349bb112fe5a27c24d71
Showing with 17 additions and 14 deletions.
  1. +6 −5 complete.html
  2. +6 −5 index
  3. +5 −4 source
@@ -239,7 +239,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 18 March 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 March 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -25713,7 +25713,7 @@ <h4 id=media-elements><span class=secno>4.8.10 </span>Media elements</h4>
attribute boolean <a href=#dom-media-muted title=dom-media-muted>muted</a>;
<!--KEEP-END w3c-html--><!--TT-->
// text tracks
readonly attribute <a href=#texttrack>TextTrack</a>[] <a href=#dom-media-tracks title=dom-media-tracks>tracks</a>;
readonly attribute <a href=#texttrack>TextTrack</a>[] <a href=#dom-media-texttracks title=dom-media-textTracks>textTracks</a>;
<a href=#mutabletexttrack>MutableTextTrack</a> <a href=#dom-media-addtrack title=dom-media-addTrack>addTrack</a>(in DOMString kind, in optional DOMString label, in optional DOMString language);
<!--KEEP-START w3c-html--><!--TT-->
};</pre>
@@ -28040,6 +28040,7 @@ <h5 id=seeking><span class=secno>4.8.10.9 </span>Seeking</h5>
</div>



<!--KEEP-END w3c-html--><!--TT-->
<!--<div data-component="other Hixie drafts (editor: Ian Hickson)">-->
<h5 id=timed-text-tracks><span class=secno>4.8.10.10 </span>Timed text tracks</h5>
@@ -28867,12 +28868,12 @@ <h6 id=guidelines-for-exposing-cues-in-various-formats-as-text-track-cues><span

<h6 id=text-track-api><span class=secno>4.8.10.10.5 </span>Text track API</h6>

<dl class=domintro><dt><var title="">media</var> . <code title=dom-media-tracks><a href=#dom-media-tracks>tracks</a></code> . <code title="">length</code></dt>
<dl class=domintro><dt><var title="">media</var> . <code title=dom-media-textTracks><a href=#dom-media-texttracks>textTracks</a></code> . <code title="">length</code></dt>
<dd>
<p>Returns the number of <a href=#text-track title="text track">text tracks</a> associated with the <a href=#media-element>media element</a> (e.g. from <code><a href=#the-track-element>track</a></code> elements). This is the number of <a href=#text-track title="text track">text tracks</a> in the <a href=#media-element>media element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
</dd>

<dt><var title="">media</var> . <code title=dom-media-tracks><a href=#dom-media-tracks>tracks[</a></code> <var title="">n</var> <code title="">]</code></dt>
<dt><var title="">media</var> . <code title=dom-media-textTracks><a href=#dom-media-texttracks>textTracks[</a></code> <var title="">n</var> <code title="">]</code></dt>
<dd>
<p>Returns the <code><a href=#texttrack>TextTrack</a></code> object representing the <var title="">n</var>th <a href=#text-track>text track</a> in the <a href=#media-element>media element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
</dd>
@@ -28884,7 +28885,7 @@ <h6 id=text-track-api><span class=secno>4.8.10.10.5 </span>Text track API</h6>

</dl><div class=impl>

<p>The <dfn id=dom-media-tracks title=dom-media-tracks><code>tracks</code></dfn>
<p>The <dfn id=dom-media-texttracks title=dom-media-textTracks><code>textTracks</code></dfn>
attribute of <a href=#media-element title="media element">media elements</a> must
return an <span title="array host objects">array host object</span>
for objects of type <code><a href=#texttrack>TextTrack</a></code> that is <i>fixed
11 index
@@ -243,7 +243,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 18 March 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 21 March 2011</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -25696,7 +25696,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
attribute boolean <a href=#dom-media-muted title=dom-media-muted>muted</a>;
<!--KEEP-END w3c-html--><!--TT-->
// text tracks
readonly attribute <a href=#texttrack>TextTrack</a>[] <a href=#dom-media-tracks title=dom-media-tracks>tracks</a>;
readonly attribute <a href=#texttrack>TextTrack</a>[] <a href=#dom-media-texttracks title=dom-media-textTracks>textTracks</a>;
<a href=#mutabletexttrack>MutableTextTrack</a> <a href=#dom-media-addtrack title=dom-media-addTrack>addTrack</a>(in DOMString kind, in optional DOMString label, in optional DOMString language);
<!--KEEP-START w3c-html--><!--TT-->
};</pre>
@@ -28023,6 +28023,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
</div>



<!--KEEP-END w3c-html--><!--TT-->
<!--<div data-component="other Hixie drafts (editor: Ian Hickson)">-->
<h5 id=timed-text-tracks><span class=secno>4.8.10.10 </span>Timed text tracks</h5>
@@ -28850,12 +28851,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<h6 id=text-track-api><span class=secno>4.8.10.10.5 </span>Text track API</h6>

<dl class=domintro><dt><var title="">media</var> . <code title=dom-media-tracks><a href=#dom-media-tracks>tracks</a></code> . <code title="">length</code></dt>
<dl class=domintro><dt><var title="">media</var> . <code title=dom-media-textTracks><a href=#dom-media-texttracks>textTracks</a></code> . <code title="">length</code></dt>
<dd>
<p>Returns the number of <a href=#text-track title="text track">text tracks</a> associated with the <a href=#media-element>media element</a> (e.g. from <code><a href=#the-track-element>track</a></code> elements). This is the number of <a href=#text-track title="text track">text tracks</a> in the <a href=#media-element>media element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
</dd>

<dt><var title="">media</var> . <code title=dom-media-tracks><a href=#dom-media-tracks>tracks[</a></code> <var title="">n</var> <code title="">]</code></dt>
<dt><var title="">media</var> . <code title=dom-media-textTracks><a href=#dom-media-texttracks>textTracks[</a></code> <var title="">n</var> <code title="">]</code></dt>
<dd>
<p>Returns the <code><a href=#texttrack>TextTrack</a></code> object representing the <var title="">n</var>th <a href=#text-track>text track</a> in the <a href=#media-element>media element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
</dd>
@@ -28867,7 +28868,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

</dl><div class=impl>

<p>The <dfn id=dom-media-tracks title=dom-media-tracks><code>tracks</code></dfn>
<p>The <dfn id=dom-media-texttracks title=dom-media-textTracks><code>textTracks</code></dfn>
attribute of <a href=#media-element title="media element">media elements</a> must
return an <span title="array host objects">array host object</span>
for objects of type <code><a href=#texttrack>TextTrack</a></code> that is <i>fixed
9 source
@@ -27645,7 +27645,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
attribute boolean <span title="dom-media-muted">muted</span>;
<!--KEEP-END w3c-html--><!--TT-->
// text tracks
readonly attribute <span>TextTrack</span>[] <span title="dom-media-tracks">tracks</span>;
readonly attribute <span>TextTrack</span>[] <span title="dom-media-textTracks">textTracks</span>;
<span>MutableTextTrack</span> <span title="dom-media-addTrack">addTrack</span>(in DOMString kind, in optional DOMString label, in optional DOMString language);
<!--KEEP-START w3c-html--><!--TT-->
};</pre>
@@ -30428,6 +30428,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
</div>



<!--KEEP-END w3c-html--><!--TT-->
<!--<div data-component="other Hixie drafts (editor: Ian Hickson)">-->
<h5>Timed text tracks</h5>
@@ -31362,12 +31363,12 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>

<dl class="domintro">

<dt><var title="">media</var> . <code title="dom-media-tracks">tracks</code> . <code title="">length</code></dt>
<dt><var title="">media</var> . <code title="dom-media-textTracks">textTracks</code> . <code title="">length</code></dt>
<dd>
<p>Returns the number of <span title="text track">text tracks</span> associated with the <span>media element</span> (e.g. from <code>track</code> elements). This is the number of <span title="text track">text tracks</span> in the <span>media element</span>'s <span>list of text tracks</span>.</p>
</dd>

<dt><var title="">media</var> . <code title="dom-media-tracks">tracks[</code> <var title="">n</var> <code title="">]</code></dt>
<dt><var title="">media</var> . <code title="dom-media-textTracks">textTracks[</code> <var title="">n</var> <code title="">]</code></dt>
<dd>
<p>Returns the <code>TextTrack</code> object representing the <var title="">n</var>th <span>text track</span> in the <span>media element</span>'s <span>list of text tracks</span>.</p>
</dd>
@@ -31381,7 +31382,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>

<div class="impl">

<p>The <dfn title="dom-media-tracks"><code>tracks</code></dfn>
<p>The <dfn title="dom-media-textTracks"><code>textTracks</code></dfn>
attribute of <span title="media element">media elements</span> must
return an <span title="array host objects">array host object</span>
for objects of type <code>TextTrack</code> that is <i>fixed

0 comments on commit c996f32

Please sign in to comment.
You can’t perform that action at this time.