Skip to content

Commit

Permalink
[e] (0) Remove the experimental timed tracks stuff from the W3C copy,…
Browse files Browse the repository at this point in the history
… by request of the chairs.

git-svn-id: http://svn.whatwg.org/webapps@5095 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 12, 2010
1 parent 63ad98e commit c6fc22b
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 36 deletions.
83 changes: 70 additions & 13 deletions complete.html
Expand Up @@ -186,7 +186,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 11 May 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 12 May 2010</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>-->
Expand Down Expand Up @@ -22950,8 +22950,16 @@ <h4 id=video><span class=secno>4.8.6 </span>The <dfn><code>video</code></dfn> el
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#embedded-content>embedded content</a> is expected.</dd>
<dt>Content model:</dt>
<dd>If the element has a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute: zero or more <code><a href=#the-track-element>track</a></code> elements, then <a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dd>If the element does not have a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute: one or more <code><a href=#the-source-element>source</a></code> elements, then zero or more <code><a href=#the-track-element>track</a></code> elements, then <a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dd>If the element has a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute:
<!--TT-->
zero or more <code><a href=#the-track-element>track</a></code> elements, then
<!--TT-->
<a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dd>If the element does not have a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute: one or more <code><a href=#the-source-element>source</a></code> elements, then
<!--TT-->
zero or more <code><a href=#the-track-element>track</a></code> elements, then
<!--TT-->
<a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dd><code title=attr-media-src><a href=#attr-media-src>src</a></code></dd>
Expand Down Expand Up @@ -23240,8 +23248,16 @@ <h4 id=audio><span class=secno>4.8.7 </span>The <dfn><code>audio</code></dfn> el
<dt>Contexts in which this element may be used:</dt>
<dd>Where <a href=#embedded-content>embedded content</a> is expected.</dd>
<dt>Content model:</dt>
<dd>If the element has a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute: zero or more <code><a href=#the-track-element>track</a></code> elements, then <a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dd>If the element does not have a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute: one or more <code><a href=#the-source-element>source</a></code> elements, then zero or more <code><a href=#the-track-element>track</a></code> elements, then <a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dd>If the element has a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute:
<!--TT-->
zero or more <code><a href=#the-track-element>track</a></code> elements, then
<!--TT-->
<a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dd>If the element does not have a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute: one or more <code><a href=#the-source-element>source</a></code> elements, then
<!--TT-->
zero or more <code><a href=#the-track-element>track</a></code> elements, then
<!--TT-->
<a href=#transparent>transparent</a>, but with no <a href=#media-element>media element</a> descendants.</dd>
<dt>Content attributes:</dt>
<dd><a href=#global-attributes>Global attributes</a></dd>
<dd><code title=attr-media-src><a href=#attr-media-src>src</a></code></dd>
Expand Down Expand Up @@ -23371,7 +23387,10 @@ <h4 id=the-source-element><span class=secno>4.8.8 </span>The <dfn><code>source</
<dl class=element><dt>Categories</dt>
<dd>None.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>As a child of a <a href=#media-element>media element</a>, before any <a href=#flow-content>flow content</a> or <code><a href=#the-track-element>track</a></code> elements.</dd>
<dd>As a child of a <a href=#media-element>media element</a>, before any <a href=#flow-content>flow content</a>
<!--TT-->
or <code><a href=#the-track-element>track</a></code> elements.</dd>
<!--TT-->
<dt>Content model:</dt>
<dd>Empty.</dd>
<dt>Content attributes:</dt>
Expand Down Expand Up @@ -23546,6 +23565,8 @@ <h4 id=the-source-element><span class=secno>4.8.8 </span>The <dfn><code>source</



<!--TT-->

<h4 id=the-track-element><span class=secno>4.8.9 </span>The <dfn><code>track</code></dfn> element</h4>

<dl class=element><dt>Categories</dt>
Expand Down Expand Up @@ -23721,6 +23742,7 @@ <h4 id=the-track-element><span class=secno>4.8.9 </span>The <dfn><code>track</co

</div>

<!--TT-->


<h4 id=media-elements><span class=secno>4.8.10 </span>Media elements</h4>
Expand Down Expand Up @@ -23776,10 +23798,11 @@ <h4 id=media-elements><span class=secno>4.8.10 </span>Media elements</h4>
attribute boolean <a href=#dom-media-controls title=dom-media-controls>controls</a>;
attribute float <a href=#dom-media-volume title=dom-media-volume>volume</a>;
attribute boolean <a href=#dom-media-muted title=dom-media-muted>muted</a>;

<!--TT-->
// timed tracks
readonly attribute <a href=#timedtrack>TimedTrack</a>[] <span title=dom-media-tracks>tracks</span>;
<a href=#mutabletimedtrack>MutableTimedTrack</a> <span title=dom-media-addTrack>addTrack</span>(in DOMString label, in DOMString kind, in DOMString language);
<!--TT-->
};</pre>

<p>The <dfn id=media-element-attributes>media element attributes</dfn>, <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>, <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code>, and <code title=attr-media-controls><a href=#attr-media-controls>controls</a></code>, apply to all <a href=#media-element title="media element">media elements</a>. They are defined in
Expand Down Expand Up @@ -24163,8 +24186,10 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
<li><p>Set the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
<code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code>.</li>

<!--TT-->
<li><p><a href="#forget-the-media-element's-media-resource-specific-timed-tracks">Forget the media element's media-resource-specific
timed tracks</a>.</li>
<!--TT-->

<li><p>If <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> is
not set to <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, then set it
Expand Down Expand Up @@ -24289,8 +24314,10 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
attribute to a new <code><a href=#mediaerror>MediaError</a></code> object whose <code title=dom-MediaError-code><a href=#dom-mediaerror-code>code</a></code> attribute is set to
<code title=dom-MediaError-MEDIA_ERR_SRC_NOT_SUPPORTED><a href=#dom-mediaerror-media_err_src_not_supported>MEDIA_ERR_SRC_NOT_SUPPORTED</a></code>.</li>

<!--TT-->
<li><p><a href="#forget-the-media-element's-media-resource-specific-timed-tracks">Forget the media element's media-resource-specific
timed tracks</a>.</li>
<!--TT-->

<li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <a href=#dom-media-network_no_source title=dom-media-NETWORK_NO_SOURCE>NETWORK_NO_SOURCE</a>
Expand Down Expand Up @@ -24407,8 +24434,10 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
<a href=#synchronous-section>synchronous section</a> has ended. (Steps in <a href=#synchronous-section title="synchronous section">synchronous sections</a> are
marked with &#8987;.)</li>

<!--TT-->
<li><p>&#8987; <a href="#forget-the-media-element's-media-resource-specific-timed-tracks">Forget the media element's
media-resource-specific timed tracks</a>.</li>
<!--TT-->

<li><p>&#8987; <i title="">Find next candidate</i>: Let <var title="">candidate</var> be null.</li>

Expand Down Expand Up @@ -24569,7 +24598,11 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
<dt id=getting-media-metadata>Once enough of the <a href=#media-data>media
data</a> has been fetched to determine the duration of the
<a href=#media-resource>media resource</a>, its dimensions, and other
metadata, and once <a href=#the-timed-tracks-are-ready>the timed tracks are ready</a></dt>
metadata,
<!--TT-->
and once <a href=#the-timed-tracks-are-ready>the timed tracks are ready</a>
<!--TT-->
</dt>

<dd>

Expand Down Expand Up @@ -24793,6 +24826,7 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
</dd>


<!--TT-->
<dt id=found-a-media-resource-specific-timed-track>If the <a href=#media-resource>media resource</a> is found to declare a <a href=#media-resource-specific-timed-track>media-resource-specific timed track</a> that the user agent supports</dt>

<dd>
Expand All @@ -24801,6 +24835,7 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
track</a> with the relevant data.</p>

</dd>
<!--TT-->

</dl><p>When the <a href=#networking-task-source>networking task source</a> has <a href=#queue-a-task title="queue a task">queued</a> the last <a href=#concept-task title=concept-task>task</a> as part of <a href=#fetch title=fetch>fetching</a> the <a href=#media-resource>media resource</a>
(i.e. once the download has completed), if the fetching process
Expand Down Expand Up @@ -25104,8 +25139,12 @@ <h5 id=the-ready-states><span class=secno>4.8.10.7 </span>The ready states</h5>
element, the dimensions of the video are also available. The API
will no longer raise an exception when seeking. No <a href=#media-data>media
data</a> is available for the immediate <a href=#current-playback-position>current playback
position</a>. The <a href=#timed-track title="timed track">timed tracks</a>
are <a href=#the-timed-tracks-are-ready title="the timed tracks are ready">ready</a>.</dd>
position</a>.
<!--TT-->
The <a href=#timed-track title="timed track">timed tracks</a>
are <a href=#the-timed-tracks-are-ready title="the timed tracks are ready">ready</a>.
<!--TT-->
</dd>

<dt><dfn id=dom-media-have_current_data title=dom-media-HAVE_CURRENT_DATA><code>HAVE_CURRENT_DATA</code></dfn> (numeric value 2)</dt>

Expand Down Expand Up @@ -25861,6 +25900,7 @@ <h5 id=seeking><span class=secno>4.8.10.9 </span>Seeking</h5>
</div>


<!--TT-->
<h5 id=timed-tracks><span class=secno>4.8.10.10 </span>Timed tracks</h5>

<h6 id=timed-track-model><span class=secno>4.8.10.10.1 </span>Timed track model</h6>
Expand Down Expand Up @@ -26491,6 +26531,8 @@ <h6 id=parsing-0><span class=secno>4.8.10.11.2 </span>Parsing</h6>

</ol></div>

<!--TT-->


<h5 id=user-interface><span class=secno>4.8.10.12 </span>User interface</h5>

Expand Down Expand Up @@ -26733,7 +26775,10 @@ <h5 id=mediaevents><span class=secno>4.8.10.14 </span>Event summary</h5>

<tbody><tr><td><dfn id=event-media-loadedmetadata title=event-media-loadedmetadata><code>loadedmetadata</code></dfn>
<td><code><a href=#event>Event</a></code>
<td>The user agent has just determined the duration and dimensions of the <a href=#media-resource>media resource</a> and <a href=#the-timed-tracks-are-ready>the timed tracks are ready</a>.
<td>The user agent has just determined the duration and dimensions of the <a href=#media-resource>media resource</a>
<!--TT-->
and <a href=#the-timed-tracks-are-ready>the timed tracks are ready</a>.
<!--TT-->
<td><code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> is newly equal to <code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code> or greater for the first time.
<tr><td><dfn id=event-media-loadeddata title=event-media-loadeddata><code>loadeddata</code></dfn>
<td><code><a href=#event>Event</a></code>
Expand Down Expand Up @@ -88475,7 +88520,7 @@ <h3 class=no-num id=elements-1>Elements</h3>
<code><a href=#the-td-element>td</a></code></td>
<td><a href=#global-attributes title="global attributes">globals</a></td>
<td><code><a href=#htmltablerowelement>HTMLTableRowElement</a></code></td>
<tr><th><code><a href=#the-track-element>track</a></code></th>
</tr><!--TT--><tr><th><code><a href=#the-track-element>track</a></code></th>
<td>Timed track</td>
<td>none</td>
<td><code><a href=#audio>audio</a></code>;
Expand All @@ -88487,7 +88532,7 @@ <h3 class=no-num id=elements-1>Elements</h3>
<code title=attr-track-src><a href=#attr-track-src>src</a></code>;
<code title=attr-track-srclang><a href=#attr-track-srclang>srclang</a></code></td>
<td><code><a href=#htmltrackelement>HTMLTrackElement</a></code></td>
<tr><th><code><a href=#the-ul-element>ul</a></code></th>
</tr><!--TT--><tr><th><code><a href=#the-ul-element>ul</a></code></th>
<td>List</td>
<td><a href=#flow-content title="Flow content">flow</a></td>
<td><a href=#flow-content title="Flow content">flow</a></td>
Expand Down Expand Up @@ -89142,6 +89187,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<td> <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keygen</a></code>
<td> The type of cryptographic key to generate
<td> <a href=#attribute-text>Text</a>*
<!--TT-->
<tr><th> <code title="">kind</code>
<td> <code title=attr-track-kind><a href=#attr-track-kind>track</a></code>
<td> The type of timed track
Expand All @@ -89150,12 +89196,15 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
"<code title=attr-track-kind-descriptions><a href=#attr-track-kind-descriptions>descriptions</a></code>";
"<code title=attr-track-kind-chapters><a href=#attr-track-kind-chapters>chapters</a></code>";
"<code title=attr-track-kind-metadata><a href=#attr-track-kind-metadata>metadata</a></code>"
<!--TT-->
<tr><th> <code title="">label</code>
<td> <code title=attr-command-label><a href=#attr-command-label>command</a></code>;
<code title=attr-menu-label><a href=#attr-menu-label>menu</a></code>;
<code title=attr-optgroup-label><a href=#attr-optgroup-label>optgroup</a></code>;
<code title=attr-option-label><a href=#attr-option-label>option</a></code>;
<!--TT-->
<code title=attr-track-label><a href=#attr-track-label>track</a></code>
<!--TT-->
<td> User-visible label
<td> <a href=#attribute-text>Text</a>
<tr><th> <code title="">lang</code>
Expand Down Expand Up @@ -89384,18 +89433,22 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<code title=attr-input-src><a href=#attr-input-src>input</a></code>;
<code title=attr-script-src><a href=#attr-script-src>script</a></code>;
<code title=attr-source-src><a href=#attr-source-src>source</a></code>;
<!--TT-->
<code title=attr-track-src><a href=#attr-track-src>track</a></code>;
<!--TT-->
<code title=attr-media-src><a href=#attr-media-src>video</a></code>
<td> Address of the resource
<td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">srcdoc</code>
<td> <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>iframe</a></code>
<td> A document to render in the <code><a href=#the-iframe-element>iframe</a></code>
<td> The source of <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>*
<!--TT-->
<tr><th> <code title="">srclang</code>
<td> <code title=attr-track-srclang><a href=#attr-track-srclang>track</a></code>
<td> Language of the timed track
<td> Valid BCP 47 language tag
<!--TT-->
<tr><th> <code title="">start</code>
<td> <code title=attr-ol-start><a href=#attr-ol-start>ol</a></code>
<td> Ordinal value of the first item
Expand Down Expand Up @@ -90222,8 +90275,10 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
<tr><td> <code><a href=#the-tr-element>tr</a></code>
<td> <code><a href=#htmltablerowelement>HTMLTableRowElement</a></code> : <code><a href=#htmlelement>HTMLElement</a></code>

<!--TT-->
<tr><td> <code><a href=#the-track-element>track</a></code>
<td> <code><a href=#htmltrackelement>HTMLTrackElement</a></code> : <code><a href=#htmlelement>HTMLElement</a></code>
<!--TT-->

<tr><td> <code><a href=#the-ul-element>ul</a></code>
<td> <code><a href=#htmlulistelement>HTMLUListElement</a></code> : <code><a href=#htmlelement>HTMLElement</a></code>
Expand Down Expand Up @@ -91390,10 +91445,12 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
allowing us to use their mistakes as a guide for designing the
microdata feature.</p>

<!--TT-->
<p>Thanks to the SubRip community, including in particular Zuggy and
ai4spam, for their work on the SubRip software program whose SRT
file format was used as the basis for the WebSRT timed track file
format.</p>
<!--TT-->

<div class=impl>

Expand Down

0 comments on commit c6fc22b

Please sign in to comment.