- From: poot <cvsmail@w3.org>
- Date: Wed, 28 Oct 2009 05:41:04 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Allow encodings to be given case-insensitively. (whatwg r4370) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3502&r2=1.3503&f=h http://html5.org/tools/web-apps-tracker?from=4369&to=4370 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3502 retrieving revision 1.3503 diff -u -d -r1.3502 -r1.3503 --- Overview.html 27 Oct 2009 20:35:59 -0000 1.3502 +++ Overview.html 27 Oct 2009 20:40:52 -0000 1.3503 @@ -1715,7 +1715,7 @@ agent.<h4 id="character-encodings"><span class="secno">2.1.6 </span>Character encodings</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="preferred-mime-name">preferred MIME name</dfn> of a character encoding is the name or alias labeled as "preferred MIME name" in the IANA <cite>Character Sets</cite> registry, if there is one, or the - encoding's name, if none of the aliases are so labeled. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>An <dfn id="ascii-compatible-character-encoding">ASCII-compatible character encoding</dfn> is a + encoding's name, if none of the aliases are so labeled. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>An <dfn id="ascii-compatible-character-encoding">ASCII-compatible character encoding</dfn> is a single-byte or variable-length encoding in which the bytes 0x09, 0x0A, 0x0C, 0x0D, 0x20 - 0x22, 0x26, 0x27, 0x2C - 0x3F, 0x41 - 0x5A, and 0x61 - 0x7A<!-- is that list ok? do any character sets we want @@ -10378,7 +10378,8 @@ character encoding used to serialize the file.</li> <li>The value must be a valid character encoding name, and must be - the <a href="#preferred-mime-name">preferred MIME name</a> for that encoding. <a href="#refsIANACHARSET">[IANACHARSET]</a></li> + an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the + <a href="#preferred-mime-name">preferred MIME name</a> for that encoding. <a href="#refsIANACHARSET">[IANACHARSET]</a></li> <li>The character encoding declaration must be serialized without the use of <a href="#syntax-charref" title="syntax-charref">character references</a> @@ -10859,10 +10860,11 @@ attribute gives the character encoding of the external script resource. The attribute must not be specified if the <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute is not present. If the attribute is set, its value must be a valid character encoding name, - must be the <a href="#preferred-mime-name">preferred MIME name</a> for that encoding, and - must match the encoding given in the <code title="">charset</code> - parameter of the <a href="#content-type" title="Content-Type">Content-Type - metadata</a> of the external file, if any. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>The <dfn id="attr-script-async" title="attr-script-async"><code>async</code></dfn> and + must be an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the + <a href="#preferred-mime-name">preferred MIME name</a> for that encoding, and must match + the encoding given in the <code title="">charset</code> parameter of + the <a href="#content-type" title="Content-Type">Content-Type metadata</a> of the + external file, if any. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>The <dfn id="attr-script-async" title="attr-script-async"><code>async</code></dfn> and <dfn id="attr-script-defer" title="attr-script-defer"><code>defer</code></dfn> attributes are <a href="#boolean-attribute" title="boolean attribute">boolean attributes</a> that indicate how the script should be executed.<p>There are three possible modes that can be selected using these @@ -27485,9 +27487,10 @@ can be submitted to a server for processing.<p>The <dfn id="attr-form-accept-charset" title="attr-form-accept-charset"><code>accept-charset</code></dfn> attribute gives the character encodings that are to be used for the submission. If specified, the value must be an <a href="#ordered-set-of-unique-space-separated-tokens">ordered set of - unique space-separated tokens</a>, and each token must be the - <a href="#preferred-mime-name">preferred MIME name</a> of an <a href="#ascii-compatible-character-encoding">ASCII-compatible - character encoding</a>. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>The <dfn id="attr-form-name" title="attr-form-name"><code>name</code></dfn> attribute + unique space-separated tokens</a>, and each token must be an + <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the <a href="#preferred-mime-name">preferred + MIME name</a> of an <a href="#ascii-compatible-character-encoding">ASCII-compatible character + encoding</a>. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>The <dfn id="attr-form-name" title="attr-form-name"><code>name</code></dfn> attribute represents the <code><a href="#the-form-element">form</a></code>'s name within the <code title="dom-document-forms"><a href="#dom-document-forms">forms</a></code> collection. The value must not be the empty string, and the value must be unique amongst the <code><a href="#the-form-element">form</a></code> elements in the <code title="dom-document-forms"><a href="#dom-document-forms">forms</a></code> collection that it is in, if @@ -68016,7 +68019,8 @@ declaration">character encoding declarations</a> in the document. The parameter's value must be the name of the character encoding used to serialize the file, must be a valid - character encoding name, and must be the <a href="#preferred-mime-name">preferred MIME + character encoding name, and must be an <a href="#ascii-case-insensitive">ASCII + case-insensitive</a> match for the <a href="#preferred-mime-name">preferred MIME name</a> for that encoding. <a href="#refsIANACHARSET">[IANACHARSET]</a></p> </dd> </dl></dd> @@ -69439,7 +69443,7 @@ <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> - <td> <a href="#ordered-set-of-unique-space-separated-tokens">Ordered set of unique space-separated tokens</a> consisting of <a href="#preferred-mime-name" title="preferred MIME name">preferred MIME names</a> of <a href="#ascii-compatible-character-encoding" title="ASCII-compatible character encoding">ASCII-compatible character encodings</a> + <td> <a href="#ordered-set-of-unique-space-separated-tokens">Ordered set of unique space-separated tokens</a> consisting of <a href="#preferred-mime-name" title="preferred MIME name">preferred MIME names</a> of <a href="#ascii-compatible-character-encoding" title="ASCII-compatible character encoding">ASCII-compatible character encodings</a>* <tr><th> <code title="">accesskey</code> <td> <a href="#the-accesskey-attribute" title="attr-accesskey">HTML elements</a> <td> Keyboard shortcut to activate or focus element
Received on Tuesday, 27 October 2009 20:41:34 UTC