- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 10 Jan 2010 07:19:44 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv28357 Modified Files: Overview.html Log Message: Correct terminology regarding MIME types. (whatwg r4554) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3633 retrieving revision 1.3634 diff -u -d -r1.3633 -r1.3634 --- Overview.html 9 Jan 2010 08:53:00 -0000 1.3633 +++ Overview.html 10 Jan 2010 07:19:41 -0000 1.3634 @@ -262,7 +262,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-9-january-2010">Editor's Draft 9 January 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-10-january-2010">Editor's Draft 10 January 2010</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> @@ -361,7 +361,7 @@ specification's progress along the W3C Recommendation track. - This specification is the 9 January 2010 Editor's Draft. + This specification is the 10 January 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a larger specification</a> being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> @@ -1574,8 +1574,13 @@ sometimes called an <i>Internet media type</i> in protocol literature. The term <i>media type</i> in this specification is used to refer to the type of media intended for presentation, as used by - the CSS specifications. <a href="#refsRFC2046">[RFC2046]</a> <a href="#refsMQ">[MQ]</a><p>A string is a <dfn id="valid-mime-type">valid MIME type</dfn> if it matches the <code title="">media-type</code> rule defined in section 3.7 "Media - Types" of RFC 2616. <a href="#refsHTTP">[HTTP]</a><h4 id="xml"><span class="secno">3.1.2 </span>XML</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p id="html-namespace">To ease migration from HTML to XHTML, UAs + the CSS specifications. <a href="#refsRFC2046">[RFC2046]</a> <a href="#refsMQ">[MQ]</a><p>A string is a <dfn id="valid-mime-type">valid MIME type</dfn> if it matches the <code title="">media-type</code> rule defined in section 3.7 "Media Types" + of RFC 2616. In particular, a <a href="#valid-mime-type">valid MIME type</a> may + include MIME type parameters. <a href="#refsHTTP">[HTTP]</a><p>A string is a <dfn id="valid-mime-type-with-no-parameters">valid MIME type with no parameters</dfn> if it + matches the <code title="">media-type</code> rule defined in section + 3.7 "Media Types" of RFC 2616, but does not contain any U+003B + SEMICOLON characters (;). In other words, if it consists only of a + type and subtype, with no MIME Type parameters. <a href="#refsHTTP">[HTTP]</a><h4 id="xml"><span class="secno">3.1.2 </span>XML</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p id="html-namespace">To ease migration from HTML to XHTML, UAs conforming to this specification will place elements in HTML in the <code>http://www.w3.org/1999/xhtml</code> namespace, at least for the purposes of the DOM and CSS. The term "<dfn id="html-elements">HTML @@ -9335,8 +9340,8 @@ the <a href="#attr-hyperlink-hreflang" title="attr-hyperlink-hreflang"><code>hreflang</code> attribute on hyperlink elements</a>.<p>The <dfn id="attr-link-type" title="attr-link-type"><code>type</code></dfn> attribute gives the <a href="#mime-type">MIME type</a> of the linked resource. It is - purely advisory. The value must be a <a href="#valid-mime-type">valid MIME type</a>, - optionally with parameters.<p>For <a href="#external-resource-link" title="external resource link">external resource + purely advisory. The value must be a <a href="#valid-mime-type">valid MIME + type</a>.<p>For <a href="#external-resource-link" title="external resource link">external resource links</a>, the <code title="attr-link-type"><a href="#attr-link-type">type</a></code> attribute is used as a hint to user agents so that they can avoid fetching resources they do not support. <span class="impl">If the attribute @@ -10221,10 +10226,9 @@ information in their documents. The <code><a href="#the-style-element">style</a></code> element is one of several inputs to the <a href="#styling">styling processing model</a>. The element does not <a href="#represents" title="represents">represent</a> content for the user.<p>If the <dfn id="attr-style-type" title="attr-style-type"><code>type</code></dfn> - attribute is given, it must contain a <a href="#valid-mime-type">valid MIME type</a>, - optionally with parameters, that designates a styling language. If - the attribute is absent, the type defaults to - <code>text/css</code>. <a href="#refsRFC2318">[RFC2318]</a><div class="impl"> + attribute is given, it must contain a <a href="#valid-mime-type">valid MIME type</a> + that designates a styling language. If the attribute is absent, the + type defaults to <code>text/css</code>. <a href="#refsRFC2318">[RFC2318]</a><div class="impl"> <!-- this paragraph is also present in the <script> section --> <p>When examining types to determine if they support the language, @@ -10531,8 +10535,9 @@ specified.<p>The <dfn id="attr-script-type" title="attr-script-type"><code>type</code></dfn> attribute gives the language of the script or format of the data. If the attribute is present, its value must be a <a href="#valid-mime-type">valid MIME - type</a>, optionally with parameters. The <code title="">charset</code> parameter must not be specified. (The - default, which is used if the attribute is absent, is "<code title="">text/javascript</code>".)<p>The <dfn id="attr-script-src" title="attr-script-src"><code>src</code></dfn> + type</a>. The <code title="">charset</code> parameter must not be + specified. (The default, which is used if the attribute is absent, + is "<code title="">text/javascript</code>".)<p>The <dfn id="attr-script-src" title="attr-script-src"><code>src</code></dfn> attribute, if specified, gives the address of the external script resource to use. The value of the attribute must be a <a href="#valid-url">valid URL</a> identifying a script resource of the type given by the @@ -17146,12 +17151,14 @@ or interactive content.<p>The <dfn id="attr-embed-src" title="attr-embed-src"><code>src</code></dfn> attribute gives the address of the resource being embedded. The attribute, if present, must contain a <a href="#valid-url">valid URL</a>.<p>The <dfn id="attr-embed-type" title="attr-embed-type"><code>type</code></dfn> - attribute, if present, gives the <a href="#mime-type">MIME type</a> of the plugin to - instantiate. The value must be a <a href="#valid-mime-type">valid MIME type</a>, - optionally with parameters. If both the <code title="attr-embed-type"><a href="#attr-embed-type">type</a></code> attribute and the <code title="attr-embed-src"><a href="#attr-embed-src">src</a></code> attribute are present, then the - <code title="attr-embed-type"><a href="#attr-embed-type">type</a></code> attribute must specify the - same type as the <a href="#content-type" title="Content-Type">explicit Content-Type - metadata</a> of the resource given by the <code title="attr-embed-src"><a href="#attr-embed-src">src</a></code> attribute.<div class="impl"> + attribute, if present, gives the <a href="#mime-type">MIME type</a> of the + plugin to instantiate. The value must be a <a href="#valid-mime-type">valid MIME + type</a>. If both the <code title="attr-embed-type"><a href="#attr-embed-type">type</a></code> + attribute and the <code title="attr-embed-src"><a href="#attr-embed-src">src</a></code> attribute + are present, then the <code title="attr-embed-type"><a href="#attr-embed-type">type</a></code> + attribute must specify the same type as the <a href="#content-type" title="Content-Type">explicit Content-Type metadata</a> of the + resource given by the <code title="attr-embed-src"><a href="#attr-embed-src">src</a></code> + attribute.<div class="impl"> <p>When the element is created with neither a <code title="attr-embed-src"><a href="#attr-embed-src">src</a></code> attribute nor a <code title="attr-embed-type"><a href="#attr-embed-type">type</a></code> attribute, and when attributes are removed such that neither attribute is present on the element @@ -17395,8 +17402,7 @@ attribute, if present, specifies the address of the resource. If present, the attribute must be a <a href="#valid-url">valid URL</a>.<p>The <dfn id="attr-object-type" title="attr-object-type"><code>type</code></dfn> attribute, if present, specifies the type of the resource. If - present, the attribute must be a <a href="#valid-mime-type">valid MIME type</a>, - optionally with parameters.<p>At least one of either the <code title="attr-object-data"><a href="#attr-object-data">data</a></code> attribute or the <code title="attr-object-type"><a href="#attr-object-type">type</a></code> attribute must be present.<p>The <dfn id="attr-object-name" title="attr-object-name"><code>name</code></dfn> + present, the attribute must be a <a href="#valid-mime-type">valid MIME type</a>.<p>At least one of either the <code title="attr-object-data"><a href="#attr-object-data">data</a></code> attribute or the <code title="attr-object-type"><a href="#attr-object-type">type</a></code> attribute must be present.<p>The <dfn id="attr-object-name" title="attr-object-name"><code>name</code></dfn> attribute, if present, must be a <a href="#valid-browsing-context-name">valid browsing context name</a>. The given value is used to name the <a href="#nested-browsing-context">nested browsing context</a>, if applicable.<div class="impl"> @@ -19127,10 +19133,11 @@ fetch the resource</dt> <dt>If the <a href="#media-resource">media resource</a> is found to have <a href="#content-type" title="Content-Type">Content-Type metadata</a> that, when - parsed as a <a href="#mime-type">MIME type</a> (including any codecs described by the - <code title="">codecs</code> parameter), represents <a href="#a-type-that-the-user-agent-knows-it-cannot-render">a type - that the user agent knows it cannot render</a> (even if the - actual <a href="#media-data">media data</a> is in a supported format)</dt> + parsed as a <a href="#mime-type">MIME type</a> (including any codecs + described by the <code title="">codecs</code> parameter), + represents <a href="#a-type-that-the-user-agent-knows-it-cannot-render">a type that the user agent knows it cannot + render</a> (even if the actual <a href="#media-data">media data</a> is in a + supported format)</dt> <dt>If the <a href="#media-data">media data</a> can be fetched but is found by inspection to be in an unsupported format, or can otherwise not @@ -27809,7 +27816,7 @@ <dd>Indicates that image files are accepted.</dd> - <dt>A <a href="#valid-mime-type">valid MIME type</a>, with no parameters</dt> + <dt>A <a href="#valid-mime-type-with-no-parameters">valid MIME type with no parameters</a></dt> <dd>Indicates that files of the specified type are accepted.</dd> @@ -40615,8 +40622,8 @@ such a link, he is given the opportunity to use that Web site. Analogously, the <dfn id="dom-navigator-registercontenthandler" title="dom-navigator-registerContentHandler"><code>registerContentHandler()</code></dfn> method allows Web sites to register themselves as possible handlers - for content in a particular <a href="#mime-type">MIME type</a>. For example, the same online - fax service could register itself as a handler for + for content in a particular <a href="#mime-type">MIME type</a>. For example, the + same online fax service could register itself as a handler for <code>image/g3fax</code> files (<a href="#refsRFC1494">[RFC1494]</a>), so that if the user has no native application capable of handling G3 Facsimile byte streams, his Web browser can instead suggest he use that site to view the @@ -40694,9 +40701,9 @@ whitespace, or include MIME parameters, then the handler being registered will never be used.</p> - <p class="note">The type is compared to the <a href="#mime-type">MIME type</a> used by the - user agent <em>after</em> the sniffing algorithms have been - applied.</p> + <p class="note">The type is compared to the <a href="#mime-type">MIME type</a> + used by the user agent <em>after</em> the sniffing algorithms have + been applied.</p> </dd> @@ -40739,8 +40746,9 @@ <pre><a href="chickenkïwi.soup">Download our Chicken Kïwi soup!</a></pre> <p>...then, assuming this <code>chickenkïwi.soup</code> file - was served with the <a href="#mime-type">MIME type</a> <code>application/x-soup</code>, - the UA might navigate to the following URL:</p> + was served with the <a href="#mime-type">MIME type</a> + <code>application/x-soup</code>, the UA might navigate to the + following URL:</p> <pre>http://example.com/soup?url=http://www.example.net/chickenk%C3%AFwi.soup</pre> @@ -44561,12 +44569,13 @@ use only language information associated with the resource to determine its language, not metadata included in the link to the resource.</span><p>The <dfn id="attr-hyperlink-type" title="attr-hyperlink-type"><code>type</code></dfn> - attribute, if present, gives the <a href="#mime-type">MIME type</a> of the linked - resource. It is purely advisory. The value must be a <a href="#valid-mime-type">valid - MIME type</a>, optionally with parameters. <span class="impl">User agents must not consider the <code title="attr-hyperlink-type"><a href="#attr-hyperlink-type">type</a></code> attribute authoritative - — upon fetching the resource, user agents must not use - metadata included in the link to the resource to determine its - type.</span><div class="impl"> + attribute, if present, gives the <a href="#mime-type">MIME type</a> of the + linked resource. It is purely advisory. The value must be a + <a href="#valid-mime-type">valid MIME type</a>. <span class="impl">User agents must + not consider the <code title="attr-hyperlink-type"><a href="#attr-hyperlink-type">type</a></code> + attribute authoritative — upon fetching the resource, user + agents must not use metadata included in the link to the resource to + determine its type.</span><div class="impl"> <h4 id="following-hyperlinks"><span class="secno">6.12.2 </span><dfn>Following hyperlinks</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> @@ -64863,7 +64872,7 @@ <tbody><tr><th> <code title="">accept</code> <td> <code title="attr-input-accept"><a href="#attr-input-accept">input</a></code> <td> Hint for expected file type in <a href="#file-upload-state" title="attr-input-type-file">file upload controls</a> - <td> <a href="#set-of-comma-separated-tokens">Set of comma-separated tokens</a>* consisting of <a href="#valid-mime-type" title="valid MIME type">valid MIME types</a> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code> + <td> <a href="#set-of-comma-separated-tokens">Set of comma-separated tokens</a>* consisting of <a href="#valid-mime-type" title="valid MIME type">valid MIME types with no parameters</a> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code> <tr><th> <code title="">accept-charset</code> <td> <code title="attr-form-accept-charset"><a href="#attr-form-accept-charset">form</a></code> <td> Character encodings to use for <a href="#form-submission">form submission</a>
Received on Sunday, 10 January 2010 07:19:48 UTC