- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 05 Oct 2011 00:05:56 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv23781 Modified Files: Overview.html Log Message: Define navigating to video and audio resources (whatwg r6630) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5316 retrieving revision 1.5317 diff -u -d -r1.5316 -r1.5317 --- Overview.html 4 Oct 2011 23:43:43 -0000 1.5316 +++ Overview.html 5 Oct 2011 00:05:52 -0000 1.5317 @@ -320,7 +320,7 @@ <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-4-october-2011">Editor's Draft 4 October 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-5-october-2011">Editor's Draft 5 October 2011</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -466,7 +466,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 4 October 2011 Editor's Draft. + This specification is the 5 October 2011 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -1010,7 +1010,7 @@ <li><a href="#read-xml"><span class="secno">5.5.3 </span>Page load processing model for XML files</a></li> <li><a href="#read-text"><span class="secno">5.5.4 </span>Page load processing model for text files</a></li> <li><a href="#read-multipart-x-mixed-replace"><span class="secno">5.5.5 </span>Page load processing model for <code>multipart/x-mixed-replaced</code> resources</a></li> - <li><a href="#read-image"><span class="secno">5.5.6 </span>Page load processing model for images</a></li> + <li><a href="#read-media"><span class="secno">5.5.6 </span>Page load processing model for media</a></li> <li><a href="#read-plugin"><span class="secno">5.5.7 </span>Page load processing model for content that uses plugins</a></li> <li><a href="#read-ua-inline"><span class="secno">5.5.8 </span>Page load processing model for inline content that doesn't have a DOM</a></li> <li><a href="#scroll-to-fragid"><span class="secno">5.5.9 </span>Navigating to a fragment identifier</a></li> @@ -46304,8 +46304,8 @@ <dd>Follow the steps given in the <a href="#read-multipart-x-mixed-replace" title="navigate-multipart-x-mixed-replace">multipart/x-mixed-replace</a> section, and abort these steps.</dd> - <dt>A supported image type</dt> - <dd>Follow the steps given in the <a href="#read-image" title="navigate-image">image</a> section, and abort these + <dt>A supported image, video, or audio type</dt> + <dd>Follow the steps given in the <a href="#read-media" title="navigate-media">media</a> section, and abort these steps.</dd> <dt>A type that will use an external application to render the @@ -46643,21 +46643,40 @@ events) do fire for each body part loaded.</p> - <h4 id="read-image"><span class="secno">5.5.6 </span><dfn title="navigate-image">Page load processing model for images</dfn></h4> + <h4 id="read-media"><span class="secno">5.5.6 </span><dfn title="navigate-media">Page load processing model for media</dfn></h4> - <p>When an image resource is to be loaded in a <a href="#browsing-context">browsing - context</a>, the user agent should <a href="#create-a-document-object">create a + <p>When an image, video, or audio resource is to be loaded in a + <a href="#browsing-context">browsing context</a>, the user agent should <a href="#create-a-document-object">create a <code>Document</code> object</a>, mark it as being an <a href="#html-documents" title="HTML documents">HTML document</a>, set its <a href="#concept-document-media-type" title="concept-document-media-type">media type</a> to the sniffed MIME type of the resource (<var title="">type</var> in the <a href="#navigate">navigate</a> algorithm), append an <code><a href="#the-html-element">html</a></code> element to the <code><a href="#document">Document</a></code>, append a <code><a href="#the-head-element">head</a></code> element and a <code><a href="#the-body-element">body</a></code> element to the <code><a href="#the-html-element">html</a></code> - element, append an <code><a href="#the-img-element">img</a></code> to the <code><a href="#the-body-element">body</a></code> - element, and set the <code title="attr-img-src"><a href="#attr-img-src">src</a></code> attribute - of the <code><a href="#the-img-element">img</a></code> element to the address of the image.</p> + element, append an element <var title="">host element</var> for the + media, as described below, to the <code><a href="#the-body-element">body</a></code> element, and set + the appropriate attribute of the element <var title="">host + element</var>, as described below, to the address of the image, + video, or audio resource.</p> - - <p>Then, the user agent must act as if it had <a href="#stop-parsing" title="stop + <p>The element <var title="">host element</var> to create for the + media is the element given in the table below in the second cell of + the row whose first cell describes the media. The appropriate + attribute to set is the one given by the third cell in that same + row.</p> + + <table><thead><tr><th> Type of media + <th> Element for the media + <th> Appropriate attribute + <tr><td> Image + <td> <code><a href="#the-img-element">img</a></code> + <td> <code title="attr-img-src"><a href="#attr-img-src">src</a></code> + <tr><td> Video + <td> <code><a href="#the-video-element">video</a></code> + <td> <code title="attr-media-src"><a href="#attr-media-src">src</a></code> + <tr><td> Audio + <td> <code><a href="#the-audio-element">audio</a></code> + <td> <code title="attr-media-src"><a href="#attr-media-src">src</a></code> + </thead></table><p>Then, the user agent must act as if it had <a href="#stop-parsing" title="stop parsing">stopped parsing</a>.</p> <p>Upon creation of the <code><a href="#document">Document</a></code> object, the user agent @@ -46670,9 +46689,9 @@ <a href="#update-the-session-history-with-the-new-page">update the session history with the new page</a>.</p> <p>User agents may add content to the <code><a href="#the-head-element">head</a></code> element of - the <code><a href="#document">Document</a></code>, or attributes to the <code><a href="#the-img-element">img</a></code> - element, e.g. to link to a style sheet or an XBL binding, to provide - a script, to give the document a <code><a href="#the-title-element">title</a></code>, etc.</p> + the <code><a href="#document">Document</a></code>, or attributes to the element <var title="">host element</var>, e.g. to link to a style sheet or an XBL + binding, to provide a script, to give the document a + <code><a href="#the-title-element">title</a></code>, to make the media <a href="#attr-media-autoplay" title="attr-media-autoplay">autoplay</a>, etc.</p> <h4 id="read-plugin"><span class="secno">5.5.7 </span><dfn title="navigate-plugin">Page load processing model for content that uses plugins</dfn></h4>
Received on Wednesday, 5 October 2011 00:05:58 UTC