Browse files

[acgiow] (2) Better define how sets of unique space-separated tokens …

…are handled in terms of case-sensitivity.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10781

git-svn-id: http://svn.whatwg.org/webapps@5571 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 4c061be commit 20eaf912950907966c81f58582b24591e9c1bd7d @Hixie Hixie committed Sep 30, 2010
Showing with 208 additions and 168 deletions.
  1. +68 −55 complete.html
  2. +68 −55 index
  3. +72 −58 source
View
123 complete.html
@@ -5524,20 +5524,19 @@ <h4 id=colors><span class=secno>2.5.6 </span>Colors</h4>
<h4 id=space-separated-tokens><span class=secno>2.5.7 </span>Space-separated tokens</h4>
<p>A <dfn id=set-of-space-separated-tokens>set of space-separated tokens</dfn> is a string containing
- zero or more words separated by one or more <a href=#space-character title="space
- character">space characters</a>, where words consist of any
- string of one or more characters, none of which are <a href=#space-character title="space character">space characters</a>.</p>
+ zero or more words (known as tokens) separated by one or more <a href=#space-character title="space character">space characters</a>, where words consist
+ of any string of one or more characters, none of which are <a href=#space-character title="space character">space characters</a>.</p>
<p>A string containing a <a href=#set-of-space-separated-tokens>set of space-separated tokens</a>
may have leading or trailing <a href=#space-character title="space character">space
characters</a>.</p>
<p>An <dfn id=unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</dfn> is a
- <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the words
+ <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the tokens
are duplicated.</p>
<p>An <dfn id=ordered-set-of-unique-space-separated-tokens>ordered set of unique space-separated tokens</dfn> is a
- <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the words
+ <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the tokens
are duplicated but where the order of the tokens is meaningful.</p>
<p><a href=#set-of-space-separated-tokens title="set of space-separated tokens">Sets of
@@ -5547,6 +5546,10 @@ <h4 id=space-separated-tokens><span class=secno>2.5.7 </span>Space-separated tok
non-conforming. If no such set of allowed values is provided, then
all values are conforming.</p>
+ <p class=note>How tokens in a <a href=#set-of-space-separated-tokens>set of space-separated
+ tokens</a> are to be compared (e.g. case-sensitively or not) is
+ defined on a per-set basis.</p>
+
<div class=impl>
<p>When a user agent has to <dfn id=split-a-string-on-spaces>split a string on spaces</dfn>, it
@@ -5614,7 +5617,8 @@ <h4 id=space-separated-tokens><span class=secno>2.5.7 </span>Space-separated tok
characters</a> that are not <a href=#space-character title="space character">space
characters</a>, and let that be <var title="">s</var>.</li>
- <li><p>If <var title="">s</var> is exactly equal to <var title="">token</var>, then:</p>
+ <li><p>If <var title="">s</var> is exactly equal to <var title="">token</var> (this is a <a href=#case-sensitive>case-sensitive</a>
+ comparison), then:</p>
<ol><li><p><a href=#skip-whitespace>Skip whitespace</a> (in <var title="">input</var>).</li>
@@ -22133,8 +22137,8 @@ <h4 id=the-iframe-element><span class=secno>4.8.2 </span>The <dfn><code>iframe</
<hr><p>The <dfn id=attr-iframe-sandbox title=attr-iframe-sandbox><code>sandbox</code></dfn>
attribute, when specified, enables a set of extra restrictions on
any content hosted by the <code><a href=#the-iframe-element>iframe</a></code>. Its value must be an
- <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>. The
- allowed values are <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>,
+ <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a> that are
+ <a href=#ascii-case-insensitive>ASCII case-insensitive</a>. The allowed values are <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>,
<code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>,
<code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>,
and <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>. When
@@ -35491,10 +35495,11 @@ <h4 id=attributes-common-to-td-and-th-elements><span class=secno>4.9.11 </span>A
<hr><p>The <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> element may have a <dfn id=attr-tdth-headers title=attr-tdth-headers><code>headers</code></dfn> content
attribute specified. The <code title=attr-tdth-headers><a href=#attr-tdth-headers>headers</a></code> attribute, if specified,
must contain a string consisting of an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique
- space-separated tokens</a>, each of which must have the value of
- an <a href=#concept-id title=concept-id>ID</a> of a <code><a href=#the-th-element>th</a></code> element taking part in the same <a href=#concept-table title=concept-table>table</a> as the <code><a href=#the-td-element>td</a></code> or
- <code><a href=#the-th-element>th</a></code> element<span class=impl> (as defined by the
- <a href=#table-model>table model</a>)</span>.</p>
+ space-separated tokens</a> that are <a href=#case-sensitive>case-sensitive</a>,
+ each of which must have the value of an <a href=#concept-id title=concept-id>ID</a> of a <code><a href=#the-th-element>th</a></code> element taking
+ part in the same <a href=#concept-table title=concept-table>table</a> as the
+ <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> element<span class=impl> (as
+ defined by the <a href=#table-model>table model</a>)</span>.</p>
<p>A <code><a href=#the-th-element>th</a></code> element with <a href=#concept-id title=concept-id>ID</a> <var title="">id</var> is said
to be <i>directly targeted</i> by all <code><a href=#the-td-element>td</a></code> and
@@ -37262,10 +37267,11 @@ <h4 id=the-form-element><span class=secno>4.10.3 </span>The <dfn><code>form</cod
<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 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>
+ unique space-separated tokens</a> that are <a href=#ascii-case-insensitive>ASCII
+ case-insensitive</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>
<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
@@ -44816,8 +44822,9 @@ <h4 id=the-output-element><span class=secno>4.10.15 </span>The <dfn><code>output
that went into the calculation or that otherwise influenced the
calculation. The <code title=attr-output-for><a href=#attr-output-for>for</a></code> attribute,
if specified, must contain a string consisting of an <a href=#unordered-set-of-unique-space-separated-tokens>unordered
- set of unique space-separated tokens</a>, each of which must have
- the value of an <a href=#concept-id title=concept-id>ID</a> of an element in the same
+ set of unique space-separated tokens</a> that are
+ <a href=#case-sensitive>case-sensitive</a>, each of which must have the value of an
+ <a href=#concept-id title=concept-id>ID</a> of an element in the same
<code><a href=#document>Document</a></code>.</p>
<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to
@@ -52044,12 +52051,14 @@ <h5 id=rel-icon><span class=secno>4.12.4.7 </span>Link type "<dfn title=rel-icon
attribute gives the sizes of icons for visual media.</p>
<p>If specified, the attribute must have a value that is an
- <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>. The
- values must all be either <code title=attr-link-sizes-any><a href=#attr-link-sizes-any>any</a></code> or a value that consists of
- two <a href=#valid-non-negative-integer title="valid non-negative integer">valid non-negative
- integers</a> that do not have a leading U+0030 DIGIT ZERO (0)
- character and that are separated by a single U+0078 LATIN SMALL
- LETTER X character (x).</p>
+ <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>, which
+ are <a href=#ascii-case-insensitive>ASCII case-insensitive</a>. The values must all be
+ either an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string
+ "<code title=attr-link-sizes-any><a href=#attr-link-sizes-any>any</a></code>", or a value that
+ consists of two <a href=#valid-non-negative-integer title="valid non-negative integer">valid
+ non-negative integers</a> that do not have a leading U+0030 DIGIT
+ ZERO (0) character and that are separated by a single U+0078 LATIN
+ SMALL LETTER X or U+0058 LATIN CAPITAL LETTER X character.</p>
<p>The keywords represent icon sizes.</p>
@@ -52072,14 +52081,15 @@ <h5 id=rel-icon><span class=secno>4.12.4.7 </span>Link type "<dfn title=rel-icon
what they represent:</p>
<ul><li><p>If the keyword doesn't contain exactly one U+0078 LATIN
- SMALL LETTER X character (x), then this keyword doesn't represent
- anything. Abort these steps for that keyword.</li>
+ SMALL LETTER X or U+0058 LATIN CAPITAL LETTER X character, then
+ this keyword doesn't represent anything. Abort these steps for that
+ keyword.</li>
<li><p>Let <var title="">width string</var> be the string before
- the "<code title="">x</code>".</li>
+ the "<code title="">x</code>" or "<code title="">X</code>".</li>
- <li><p>Let <var title="">height string</var> be the string after the
- "<code title="">x</code>".</li>
+ <li><p>Let <var title="">height string</var> be the string after
+ the "<code title="">x</code>" or "<code title="">X</code>".</li>
<li><p>If either <var title="">width string</var> or <var title="">height string</var> start with a U+0030 DIGIT ZERO (0)
character or contain any characters other than characters in the
@@ -54131,7 +54141,8 @@ <h4 id=items><span class=secno>5.2.2 </span>Items</h4>
<p>The <code title=attr-itemref><a href=#attr-itemref>itemref</a></code> attribute, if
specified, must have a value that is an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of
- unique space-separated tokens</a> consisting of <a href=#concept-id title=concept-ID>IDs</a> of elements in the same <a href=#home-subtree>home
+ unique space-separated tokens</a> that are
+ <a href=#case-sensitive>case-sensitive</a>, consisting of <a href=#concept-id title=concept-ID>IDs</a> of elements in the same <a href=#home-subtree>home
subtree</a>.</p>
<p>The <code title=attr-itemref><a href=#attr-itemref>itemref</a></code> attribute must not
@@ -54147,7 +54158,8 @@ <h4 id=names:-the-itemprop-attribute><span class=secno>5.2.3 </span>Names: the <
<p>The <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute, if
specified, must have a value that is an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of
- unique space-separated tokens</a> representing the names of the
+ unique space-separated tokens</a> that are
+ <a href=#case-sensitive>case-sensitive</a>, representing the names of the
name-value pairs that it adds. The attribute's value must have at
least one token.</p>
@@ -54508,19 +54520,20 @@ <h3 id=microdata-dom-api><span class=secno>5.3 </span>Microdata DOM API</h3>
<p>The <dfn id=dom-document-getitems title=dom-document-getItems><code>document.getItems(<var title="">typeNames</var>)</code></dfn> method takes an optional
string that contains an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique
- space-separated tokens</a> representing types. When called, the
- method must return a <a href=#live>live</a> <code><a href=#nodelist>NodeList</a></code> object
- containing all the elements in the document, in <a href=#tree-order>tree
- order</a>, that are each <a href=#top-level-microdata-items>top-level microdata items</a>
- with a <a href=#item-type title="item type">type</a> equal to one of the types
- specified in that argument, having obtained the types by <a href=#split-a-string-on-spaces title="split a string on spaces">splitting the string on
- spaces</a>. If there are no tokens specified in the argument, or
- if the argument is missing, then the method must return a
- <code><a href=#nodelist>NodeList</a></code> containing all the <a href=#top-level-microdata-items>top-level microdata
- items</a> in the document.
- When the method is invoked on a <code><a href=#document>Document</a></code> object again
- with the same argument, the user agent may return the same object as
- the object returned by the earlier call. In other cases, a new
+ space-separated tokens</a> that are <a href=#case-sensitive>case-sensitive</a>,
+ representing types. When called, the method must return a
+ <a href=#live>live</a> <code><a href=#nodelist>NodeList</a></code> object containing all the
+ elements in the document, in <a href=#tree-order>tree order</a>, that are each
+ <a href=#top-level-microdata-items>top-level microdata items</a> with a <a href=#item-type title="item
+ type">type</a> equal to one of the types specified in that
+ argument, having obtained the types by <a href=#split-a-string-on-spaces title="split a string
+ on spaces">splitting the string on spaces</a>. If there are no
+ tokens specified in the argument, or if the argument is missing,
+ then the method must return a <code><a href=#nodelist>NodeList</a></code> containing all
+ the <a href=#top-level-microdata-items>top-level microdata items</a> in the document. When the
+ method is invoked on a <code><a href=#document>Document</a></code> object again with the
+ same argument, the user agent may return the same object as the
+ object returned by the earlier call. In other cases, a new
<code><a href=#nodelist>NodeList</a></code> object must be returned.</p>
<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn> IDL
@@ -67148,8 +67161,8 @@ <h3 id=the-accesskey-attribute><span class=secno>8.5 </span>The <dfn title=attr-
that activates or focuses the element.</p>
<p>If specified, the value must be an <a href=#ordered-set-of-unique-space-separated-tokens>ordered set of unique
- space-separated tokens</a>, each of which must be exactly one
- Unicode code point in length.</p>
+ space-separated tokens</a> that are <a href=#case-sensitive>case-sensitive</a>,
+ each of which must be exactly one Unicode code point in length.</p>
<div class=impl>
@@ -91302,11 +91315,11 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<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>, <a href=#ascii-case-insensitive>ASCII case-insensitive</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
- <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a> consisting of one Unicode code point in length
+ <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of one Unicode code point in length
<tr><th> <code title="">action</code>
<td> <code title=attr-fs-action><a href=#attr-fs-action>form</a></code>
<td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
@@ -91366,7 +91379,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<tr><th> <code title="">class</code>
<td> <a href=#classes title=attr-class>HTML elements</a>
<td> Classes to which the element belongs
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>
+ <td> <a href=#set-of-space-separated-tokens>Set of space-separated tokens</a>
<tr><th> <code title="">cols</code>
<td> <code title=attr-textarea-cols><a href=#attr-textarea-cols>textarea</a></code>
<td> Maximum number of characters per line
@@ -91445,7 +91458,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<tr><th> <code title="">for</code>
<td> <code title=attr-output-for><a href=#attr-output-for>output</a></code>
<td> Specifies controls from which the output was calculated
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of IDs*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of IDs*
<tr><th> <code title="">form</code>
<td> <code title=attr-fae-form><a href=#attr-fae-form>button</a></code>;
<code title=attr-fae-form><a href=#attr-fae-form>fieldset</a></code>;
@@ -91489,7 +91502,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<td> <code title=attr-tdth-headers><a href=#attr-tdth-headers>td</a></code>;
<code title=attr-tdth-headers><a href=#attr-tdth-headers>th</a></code>
<td> The header cells for this cell
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of IDs*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of IDs*
<tr><th> <code title="">height</code>
<td> <code title=attr-canvas-height><a href=#attr-canvas-height>canvas</a></code>;
<code title=attr-dim-height><a href=#attr-dim-height>embed</a></code>;
@@ -91551,11 +91564,11 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<tr><th> <code title="">itemprop</code>
<td> <a href=#names:-the-itemprop-attribute title=attr-itemprop>HTML elements</a>
<td> <a href=#property-names>Property names</a> of a microdata item
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of <a href=#absolute-url title="absolute URL">valid absolute URLs</a>, <a href=#defined-property-name title="defined property name">defined property names</a>, or text*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of <a href=#absolute-url title="absolute URL">valid absolute URLs</a>, <a href=#defined-property-name title="defined property name">defined property names</a>, or text*
<tr><th> <code title="">itemref</code>
<td> <a href=#attr-itemref title=attr-itemref>HTML elements</a>
<td> Referenced elements
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of IDs*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of IDs*
<tr><th> <code title="">itemscope</code>
<td> <a href=#attr-itemscope title=attr-itemscope>HTML elements</a>
<td> Introduces a microdata item
@@ -91760,7 +91773,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<tr><th> <code title="">sandbox</code>
<td> <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>iframe</a></code>
<td> Security rules for nested content
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#ascii-case-insensitive>ASCII case-insensitive</a>, consisting of
"<code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>",
"<code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>", and
"<code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>"
@@ -91802,7 +91815,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<tr><th> <code title="">sizes</code>
<td> <code title=attr-link-sizes><a href=#attr-link-sizes>link</a></code>
<td> Sizes of the icons (for <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code>="<code title=rel-icon><a href=#rel-icon>icon</a></code>")
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of sizes*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#ascii-case-insensitive>ASCII case-insensitive</a>, consisting of sizes*
<tr><th> <code title="">span</code>
<td> <code title=attr-col-span><a href=#attr-col-span>col</a></code>;
<code title=attr-colgroup-span><a href=#attr-colgroup-span>colgroup</a></code>
View
123 index
@@ -5501,20 +5501,19 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<h4 id=space-separated-tokens><span class=secno>2.5.7 </span>Space-separated tokens</h4>
<p>A <dfn id=set-of-space-separated-tokens>set of space-separated tokens</dfn> is a string containing
- zero or more words separated by one or more <a href=#space-character title="space
- character">space characters</a>, where words consist of any
- string of one or more characters, none of which are <a href=#space-character title="space character">space characters</a>.</p>
+ zero or more words (known as tokens) separated by one or more <a href=#space-character title="space character">space characters</a>, where words consist
+ of any string of one or more characters, none of which are <a href=#space-character title="space character">space characters</a>.</p>
<p>A string containing a <a href=#set-of-space-separated-tokens>set of space-separated tokens</a>
may have leading or trailing <a href=#space-character title="space character">space
characters</a>.</p>
<p>An <dfn id=unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</dfn> is a
- <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the words
+ <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the tokens
are duplicated.</p>
<p>An <dfn id=ordered-set-of-unique-space-separated-tokens>ordered set of unique space-separated tokens</dfn> is a
- <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the words
+ <a href=#set-of-space-separated-tokens>set of space-separated tokens</a> where none of the tokens
are duplicated but where the order of the tokens is meaningful.</p>
<p><a href=#set-of-space-separated-tokens title="set of space-separated tokens">Sets of
@@ -5524,6 +5523,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
non-conforming. If no such set of allowed values is provided, then
all values are conforming.</p>
+ <p class=note>How tokens in a <a href=#set-of-space-separated-tokens>set of space-separated
+ tokens</a> are to be compared (e.g. case-sensitively or not) is
+ defined on a per-set basis.</p>
+
<div class=impl>
<p>When a user agent has to <dfn id=split-a-string-on-spaces>split a string on spaces</dfn>, it
@@ -5591,7 +5594,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
characters</a> that are not <a href=#space-character title="space character">space
characters</a>, and let that be <var title="">s</var>.</li>
- <li><p>If <var title="">s</var> is exactly equal to <var title="">token</var>, then:</p>
+ <li><p>If <var title="">s</var> is exactly equal to <var title="">token</var> (this is a <a href=#case-sensitive>case-sensitive</a>
+ comparison), then:</p>
<ol><li><p><a href=#skip-whitespace>Skip whitespace</a> (in <var title="">input</var>).</li>
@@ -22110,8 +22114,8 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
<hr><p>The <dfn id=attr-iframe-sandbox title=attr-iframe-sandbox><code>sandbox</code></dfn>
attribute, when specified, enables a set of extra restrictions on
any content hosted by the <code><a href=#the-iframe-element>iframe</a></code>. Its value must be an
- <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>. The
- allowed values are <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>,
+ <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a> that are
+ <a href=#ascii-case-insensitive>ASCII case-insensitive</a>. The allowed values are <code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>,
<code title=attr-iframe-sandbox-allow-top-navigation><a href=#attr-iframe-sandbox-allow-top-navigation>allow-top-navigation</a></code>,
<code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>,
and <code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>. When
@@ -35471,10 +35475,11 @@ the cell that corresponds to the values of the two dice.
<hr><p>The <code><a href=#the-td-element>td</a></code> and <code><a href=#the-th-element>th</a></code> element may have a <dfn id=attr-tdth-headers title=attr-tdth-headers><code>headers</code></dfn> content
attribute specified. The <code title=attr-tdth-headers><a href=#attr-tdth-headers>headers</a></code> attribute, if specified,
must contain a string consisting of an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique
- space-separated tokens</a>, each of which must have the value of
- an <a href=#concept-id title=concept-id>ID</a> of a <code><a href=#the-th-element>th</a></code> element taking part in the same <a href=#concept-table title=concept-table>table</a> as the <code><a href=#the-td-element>td</a></code> or
- <code><a href=#the-th-element>th</a></code> element<span class=impl> (as defined by the
- <a href=#table-model>table model</a>)</span>.</p>
+ space-separated tokens</a> that are <a href=#case-sensitive>case-sensitive</a>,
+ each of which must have the value of an <a href=#concept-id title=concept-id>ID</a> of a <code><a href=#the-th-element>th</a></code> element taking
+ part in the same <a href=#concept-table title=concept-table>table</a> as the
+ <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> element<span class=impl> (as
+ defined by the <a href=#table-model>table model</a>)</span>.</p>
<p>A <code><a href=#the-th-element>th</a></code> element with <a href=#concept-id title=concept-id>ID</a> <var title="">id</var> is said
to be <i>directly targeted</i> by all <code><a href=#the-td-element>td</a></code> and
@@ -37242,10 +37247,11 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<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 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>
+ unique space-separated tokens</a> that are <a href=#ascii-case-insensitive>ASCII
+ case-insensitive</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>
<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
@@ -44796,8 +44802,9 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
that went into the calculation or that otherwise influenced the
calculation. The <code title=attr-output-for><a href=#attr-output-for>for</a></code> attribute,
if specified, must contain a string consisting of an <a href=#unordered-set-of-unique-space-separated-tokens>unordered
- set of unique space-separated tokens</a>, each of which must have
- the value of an <a href=#concept-id title=concept-id>ID</a> of an element in the same
+ set of unique space-separated tokens</a> that are
+ <a href=#case-sensitive>case-sensitive</a>, each of which must have the value of an
+ <a href=#concept-id title=concept-id>ID</a> of an element in the same
<code><a href=#document>Document</a></code>.</p>
<p>The <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is used to
@@ -52024,12 +52031,14 @@ local.onconnect = function (event) {
attribute gives the sizes of icons for visual media.</p>
<p>If specified, the attribute must have a value that is an
- <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>. The
- values must all be either <code title=attr-link-sizes-any><a href=#attr-link-sizes-any>any</a></code> or a value that consists of
- two <a href=#valid-non-negative-integer title="valid non-negative integer">valid non-negative
- integers</a> that do not have a leading U+0030 DIGIT ZERO (0)
- character and that are separated by a single U+0078 LATIN SMALL
- LETTER X character (x).</p>
+ <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique space-separated tokens</a>, which
+ are <a href=#ascii-case-insensitive>ASCII case-insensitive</a>. The values must all be
+ either an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the string
+ "<code title=attr-link-sizes-any><a href=#attr-link-sizes-any>any</a></code>", or a value that
+ consists of two <a href=#valid-non-negative-integer title="valid non-negative integer">valid
+ non-negative integers</a> that do not have a leading U+0030 DIGIT
+ ZERO (0) character and that are separated by a single U+0078 LATIN
+ SMALL LETTER X or U+0058 LATIN CAPITAL LETTER X character.</p>
<p>The keywords represent icon sizes.</p>
@@ -52052,14 +52061,15 @@ local.onconnect = function (event) {
what they represent:</p>
<ul><li><p>If the keyword doesn't contain exactly one U+0078 LATIN
- SMALL LETTER X character (x), then this keyword doesn't represent
- anything. Abort these steps for that keyword.</li>
+ SMALL LETTER X or U+0058 LATIN CAPITAL LETTER X character, then
+ this keyword doesn't represent anything. Abort these steps for that
+ keyword.</li>
<li><p>Let <var title="">width string</var> be the string before
- the "<code title="">x</code>".</li>
+ the "<code title="">x</code>" or "<code title="">X</code>".</li>
- <li><p>Let <var title="">height string</var> be the string after the
- "<code title="">x</code>".</li>
+ <li><p>Let <var title="">height string</var> be the string after
+ the "<code title="">x</code>" or "<code title="">X</code>".</li>
<li><p>If either <var title="">width string</var> or <var title="">height string</var> start with a U+0030 DIGIT ZERO (0)
character or contain any characters other than characters in the
@@ -54111,7 +54121,8 @@ document.body.appendChild(outer);</pre>
<p>The <code title=attr-itemref><a href=#attr-itemref>itemref</a></code> attribute, if
specified, must have a value that is an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of
- unique space-separated tokens</a> consisting of <a href=#concept-id title=concept-ID>IDs</a> of elements in the same <a href=#home-subtree>home
+ unique space-separated tokens</a> that are
+ <a href=#case-sensitive>case-sensitive</a>, consisting of <a href=#concept-id title=concept-ID>IDs</a> of elements in the same <a href=#home-subtree>home
subtree</a>.</p>
<p>The <code title=attr-itemref><a href=#attr-itemref>itemref</a></code> attribute must not
@@ -54127,7 +54138,8 @@ document.body.appendChild(outer);</pre>
<p>The <code title=attr-itemprop><a href=#names:-the-itemprop-attribute>itemprop</a></code> attribute, if
specified, must have a value that is an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of
- unique space-separated tokens</a> representing the names of the
+ unique space-separated tokens</a> that are
+ <a href=#case-sensitive>case-sensitive</a>, representing the names of the
name-value pairs that it adds. The attribute's value must have at
least one token.</p>
@@ -54488,19 +54500,20 @@ document.body.appendChild(outer);</pre>
<p>The <dfn id=dom-document-getitems title=dom-document-getItems><code>document.getItems(<var title="">typeNames</var>)</code></dfn> method takes an optional
string that contains an <a href=#unordered-set-of-unique-space-separated-tokens>unordered set of unique
- space-separated tokens</a> representing types. When called, the
- method must return a <a href=#live>live</a> <code><a href=#nodelist>NodeList</a></code> object
- containing all the elements in the document, in <a href=#tree-order>tree
- order</a>, that are each <a href=#top-level-microdata-items>top-level microdata items</a>
- with a <a href=#item-type title="item type">type</a> equal to one of the types
- specified in that argument, having obtained the types by <a href=#split-a-string-on-spaces title="split a string on spaces">splitting the string on
- spaces</a>. If there are no tokens specified in the argument, or
- if the argument is missing, then the method must return a
- <code><a href=#nodelist>NodeList</a></code> containing all the <a href=#top-level-microdata-items>top-level microdata
- items</a> in the document.
- When the method is invoked on a <code><a href=#document>Document</a></code> object again
- with the same argument, the user agent may return the same object as
- the object returned by the earlier call. In other cases, a new
+ space-separated tokens</a> that are <a href=#case-sensitive>case-sensitive</a>,
+ representing types. When called, the method must return a
+ <a href=#live>live</a> <code><a href=#nodelist>NodeList</a></code> object containing all the
+ elements in the document, in <a href=#tree-order>tree order</a>, that are each
+ <a href=#top-level-microdata-items>top-level microdata items</a> with a <a href=#item-type title="item
+ type">type</a> equal to one of the types specified in that
+ argument, having obtained the types by <a href=#split-a-string-on-spaces title="split a string
+ on spaces">splitting the string on spaces</a>. If there are no
+ tokens specified in the argument, or if the argument is missing,
+ then the method must return a <code><a href=#nodelist>NodeList</a></code> containing all
+ the <a href=#top-level-microdata-items>top-level microdata items</a> in the document. When the
+ method is invoked on a <code><a href=#document>Document</a></code> object again with the
+ same argument, the user agent may return the same object as the
+ object returned by the earlier call. In other cases, a new
<code><a href=#nodelist>NodeList</a></code> object must be returned.</p>
<p>The <dfn id=dom-itemscope title=dom-itemScope><code>itemScope</code></dfn> IDL
@@ -67154,8 +67167,8 @@ interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {
that activates or focuses the element.</p>
<p>If specified, the value must be an <a href=#ordered-set-of-unique-space-separated-tokens>ordered set of unique
- space-separated tokens</a>, each of which must be exactly one
- Unicode code point in length.</p>
+ space-separated tokens</a> that are <a href=#case-sensitive>case-sensitive</a>,
+ each of which must be exactly one Unicode code point in length.</p>
<div class=impl>
@@ -87216,11 +87229,11 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<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>, <a href=#ascii-case-insensitive>ASCII case-insensitive</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
- <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a> consisting of one Unicode code point in length
+ <td> <a href=#ordered-set-of-unique-space-separated-tokens>Ordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of one Unicode code point in length
<tr><th> <code title="">action</code>
<td> <code title=attr-fs-action><a href=#attr-fs-action>form</a></code>
<td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
@@ -87280,7 +87293,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<tr><th> <code title="">class</code>
<td> <a href=#classes title=attr-class>HTML elements</a>
<td> Classes to which the element belongs
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>
+ <td> <a href=#set-of-space-separated-tokens>Set of space-separated tokens</a>
<tr><th> <code title="">cols</code>
<td> <code title=attr-textarea-cols><a href=#attr-textarea-cols>textarea</a></code>
<td> Maximum number of characters per line
@@ -87359,7 +87372,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<tr><th> <code title="">for</code>
<td> <code title=attr-output-for><a href=#attr-output-for>output</a></code>
<td> Specifies controls from which the output was calculated
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of IDs*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of IDs*
<tr><th> <code title="">form</code>
<td> <code title=attr-fae-form><a href=#attr-fae-form>button</a></code>;
<code title=attr-fae-form><a href=#attr-fae-form>fieldset</a></code>;
@@ -87403,7 +87416,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<td> <code title=attr-tdth-headers><a href=#attr-tdth-headers>td</a></code>;
<code title=attr-tdth-headers><a href=#attr-tdth-headers>th</a></code>
<td> The header cells for this cell
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of IDs*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of IDs*
<tr><th> <code title="">height</code>
<td> <code title=attr-canvas-height><a href=#attr-canvas-height>canvas</a></code>;
<code title=attr-dim-height><a href=#attr-dim-height>embed</a></code>;
@@ -87465,11 +87478,11 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<tr><th> <code title="">itemprop</code>
<td> <a href=#names:-the-itemprop-attribute title=attr-itemprop>HTML elements</a>
<td> <a href=#property-names>Property names</a> of a microdata item
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of <a href=#absolute-url title="absolute URL">valid absolute URLs</a>, <a href=#defined-property-name title="defined property name">defined property names</a>, or text*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of <a href=#absolute-url title="absolute URL">valid absolute URLs</a>, <a href=#defined-property-name title="defined property name">defined property names</a>, or text*
<tr><th> <code title="">itemref</code>
<td> <a href=#attr-itemref title=attr-itemref>HTML elements</a>
<td> Referenced elements
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of IDs*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#case-sensitive>case-sensitive</a>, consisting of IDs*
<tr><th> <code title="">itemscope</code>
<td> <a href=#attr-itemscope title=attr-itemscope>HTML elements</a>
<td> Introduces a microdata item
@@ -87674,7 +87687,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<tr><th> <code title="">sandbox</code>
<td> <code title=attr-iframe-sandbox><a href=#attr-iframe-sandbox>iframe</a></code>
<td> Security rules for nested content
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#ascii-case-insensitive>ASCII case-insensitive</a>, consisting of
"<code title=attr-iframe-sandbox-allow-same-origin><a href=#attr-iframe-sandbox-allow-same-origin>allow-same-origin</a></code>",
"<code title=attr-iframe-sandbox-allow-forms><a href=#attr-iframe-sandbox-allow-forms>allow-forms</a></code>", and
"<code title=attr-iframe-sandbox-allow-scripts><a href=#attr-iframe-sandbox-allow-scripts>allow-scripts</a></code>"
@@ -87716,7 +87729,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<tr><th> <code title="">sizes</code>
<td> <code title=attr-link-sizes><a href=#attr-link-sizes>link</a></code>
<td> Sizes of the icons (for <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code>="<code title=rel-icon><a href=#rel-icon>icon</a></code>")
- <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a> consisting of sizes*
+ <td> <a href=#unordered-set-of-unique-space-separated-tokens>Unordered set of unique space-separated tokens</a>, <a href=#ascii-case-insensitive>ASCII case-insensitive</a>, consisting of sizes*
<tr><th> <code title="">span</code>
<td> <code title=attr-col-span><a href=#attr-col-span>col</a></code>;
<code title=attr-colgroup-span><a href=#attr-colgroup-span>colgroup</a></code>
View
130 source
@@ -4998,21 +4998,21 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<h4>Space-separated tokens</h4>
<p>A <dfn>set of space-separated tokens</dfn> is a string containing
- zero or more words separated by one or more <span title="space
- character">space characters</span>, where words consist of any
- string of one or more characters, none of which are <span
+ zero or more words (known as tokens) separated by one or more <span
+ title="space character">space characters</span>, where words consist
+ of any string of one or more characters, none of which are <span
title="space character">space characters</span>.</p>
<p>A string containing a <span>set of space-separated tokens</span>
may have leading or trailing <span title="space character">space
characters</span>.</p>
<p>An <dfn>unordered set of unique space-separated tokens</dfn> is a
- <span>set of space-separated tokens</span> where none of the words
+ <span>set of space-separated tokens</span> where none of the tokens
are duplicated.</p>
<p>An <dfn>ordered set of unique space-separated tokens</dfn> is a
- <span>set of space-separated tokens</span> where none of the words
+ <span>set of space-separated tokens</span> where none of the tokens
are duplicated but where the order of the tokens is meaningful.</p>
<p><span title="set of space-separated tokens">Sets of
@@ -5022,6 +5022,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
non-conforming. If no such set of allowed values is provided, then
all values are conforming.</p>
+ <p class="note">How tokens in a <span>set of space-separated
+ tokens</span> are to be compared (e.g. case-sensitively or not) is
+ defined on a per-set basis.</p>
+
<div class="impl">
<p>When a user agent has to <dfn>split a string on spaces</dfn>, it
@@ -5107,7 +5111,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
characters</span>, and let that be <var title="">s</var>.</p></li>
<li><p>If <var title="">s</var> is exactly equal to <var
- title="">token</var>, then:</p>
+ title="">token</var> (this is a <span>case-sensitive</span>
+ comparison), then:</p>
<ol>
@@ -23660,8 +23665,8 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
<p>The <dfn title="attr-iframe-sandbox"><code>sandbox</code></dfn>
attribute, when specified, enables a set of extra restrictions on
any content hosted by the <code>iframe</code>. Its value must be an
- <span>unordered set of unique space-separated tokens</span>. The
- allowed values are <code
+ <span>unordered set of unique space-separated tokens</span> that are
+ <span>ASCII case-insensitive</span>. The allowed values are <code
title="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>,
<code
title="attr-iframe-sandbox-allow-top-navigation">allow-top-navigation</code>,
@@ -39324,11 +39329,12 @@ the cell that corresponds to the values of the two dice.
attribute specified. The <code
title="attr-tdth-headers">headers</code> attribute, if specified,
must contain a string consisting of an <span>unordered set of unique
- space-separated tokens</span>, each of which must have the value of
- an <span title="concept-id">ID</span> of a <code>th</code> element taking part in the same <span
- title="concept-table">table</span> as the <code>td</code> or
- <code>th</code> element<span class="impl"> (as defined by the
- <span>table model</span>)</span>.</p>
+ space-separated tokens</span> that are <span>case-sensitive</span>,
+ each of which must have the value of an <span
+ title="concept-id">ID</span> of a <code>th</code> element taking
+ part in the same <span title="concept-table">table</span> as the
+ <code>td</code> or <code>th</code> element<span class="impl"> (as
+ defined by the <span>table model</span>)</span>.</p>
<p>A <code>th</code> element with <span title="concept-id">ID</span> <var title="">id</var> is said
to be <i>directly targeted</i> by all <code>td</code> and
@@ -41461,10 +41467,11 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
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 <span>ordered set of
- unique space-separated tokens</span>, and each token must be an
- <span>ASCII case-insensitive</span> match for the <span>preferred
- MIME name</span> of an <span>ASCII-compatible character
- encoding</span>. <a href="#refsIANACHARSET">[IANACHARSET]</a></p>
+ unique space-separated tokens</span> that are <span>ASCII
+ case-insensitive</span>, and each token must be an <span>ASCII
+ case-insensitive</span> match for the <span>preferred MIME
+ name</span> of an <span>ASCII-compatible character encoding</span>.
+ <a href="#refsIANACHARSET">[IANACHARSET]</a></p>
<p>The <dfn title="attr-form-name"><code>name</code></dfn> attribute
represents the <code>form</code>'s name within the <code
@@ -50237,8 +50244,9 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
that went into the calculation or that otherwise influenced the
calculation. The <code title="attr-output-for">for</code> attribute,
if specified, must contain a string consisting of an <span>unordered
- set of unique space-separated tokens</span>, each of which must have
- the value of an <span title="concept-id">ID</span> of an element in the same
+ set of unique space-separated tokens</span> that are
+ <span>case-sensitive</span>, each of which must have the value of an
+ <span title="concept-id">ID</span> of an element in the same
<code>Document</code>.</p>
<p>The <code title="attr-fae-form">form</code> attribute is used to
@@ -58303,13 +58311,14 @@ local.onconnect = function (event) {
attribute gives the sizes of icons for visual media.</p>
<p>If specified, the attribute must have a value that is an
- <span>unordered set of unique space-separated tokens</span>. The
- values must all be either <code
- title="attr-link-sizes-any">any</code> or a value that consists of
- two <span title="valid non-negative integer">valid non-negative
- integers</span> that do not have a leading U+0030 DIGIT ZERO (0)
- character and that are separated by a single U+0078 LATIN SMALL
- LETTER X character (x).</p>
+ <span>unordered set of unique space-separated tokens</span>, which
+ are <span>ASCII case-insensitive</span>. The values must all be
+ either an <span>ASCII case-insensitive</span> match for the string
+ "<code title="attr-link-sizes-any">any</code>", or a value that
+ consists of two <span title="valid non-negative integer">valid
+ non-negative integers</span> that do not have a leading U+0030 DIGIT
+ ZERO (0) character and that are separated by a single U+0078 LATIN
+ SMALL LETTER X or U+0058 LATIN CAPITAL LETTER X character.</p>
<p>The keywords represent icon sizes.</p>
@@ -58334,14 +58343,17 @@ local.onconnect = function (event) {
<ul>
<li><p>If the keyword doesn't contain exactly one U+0078 LATIN
- SMALL LETTER X character (x), then this keyword doesn't represent
- anything. Abort these steps for that keyword.</p></li>
+ SMALL LETTER X or U+0058 LATIN CAPITAL LETTER X character, then
+ this keyword doesn't represent anything. Abort these steps for that
+ keyword.</p></li>
<li><p>Let <var title="">width string</var> be the string before
- the "<code title="">x</code>".</p></li>
+ the "<code title="">x</code>" or "<code
+ title="">X</code>".</p></li>
- <li><p>Let <var title="">height string</var> be the string after the
- "<code title="">x</code>".</p></li>
+ <li><p>Let <var title="">height string</var> be the string after
+ the "<code title="">x</code>" or "<code
+ title="">X</code>".</p></li>
<li><p>If either <var title="">width string</var> or <var
title="">height string</var> start with a U+0030 DIGIT ZERO (0)
@@ -60652,7 +60664,8 @@ document.body.appendChild(outer);</pre>
<p>The <code title="attr-itemref">itemref</code> attribute, if
specified, must have a value that is an <span>unordered set of
- unique space-separated tokens</span> consisting of <span
+ unique space-separated tokens</span> that are
+ <span>case-sensitive</span>, consisting of <span
title="concept-ID">IDs</span> of elements in the same <span>home
subtree</span>.</p>
@@ -60671,7 +60684,8 @@ document.body.appendChild(outer);</pre>
<p>The <code title="attr-itemprop">itemprop</code> attribute, if
specified, must have a value that is an <span>unordered set of
- unique space-separated tokens</span> representing the names of the
+ unique space-separated tokens</span> that are
+ <span>case-sensitive</span>, representing the names of the
name-value pairs that it adds. The attribute's value must have at
least one token.</p>
@@ -61119,20 +61133,20 @@ document.body.appendChild(outer);</pre>
title="dom-document-getItems"><code>document.getItems(<var
title="">typeNames</var>)</code></dfn> method takes an optional
string that contains an <span>unordered set of unique
- space-separated tokens</span> representing types. When called, the
- method must return a <span>live</span> <code>NodeList</code> object
- containing all the elements in the document, in <span>tree
- order</span>, that are each <span>top-level microdata items</span>
- with a <span title="item type">type</span> equal to one of the types
- specified in that argument, having obtained the types by <span
- title="split a string on spaces">splitting the string on
- spaces</span>. If there are no tokens specified in the argument, or
- if the argument is missing, then the method must return a
- <code>NodeList</code> containing all the <span>top-level microdata
- items</span> in the document.
- When the method is invoked on a <code>Document</code> object again
- with the same argument, the user agent may return the same object as
- the object returned by the earlier call. In other cases, a new
+ space-separated tokens</span> that are <span>case-sensitive</span>,
+ representing types. When called, the method must return a
+ <span>live</span> <code>NodeList</code> object containing all the
+ elements in the document, in <span>tree order</span>, that are each
+ <span>top-level microdata items</span> with a <span title="item
+ type">type</span> equal to one of the types specified in that
+ argument, having obtained the types by <span title="split a string
+ on spaces">splitting the string on spaces</span>. If there are no
+ tokens specified in the argument, or if the argument is missing,
+ then the method must return a <code>NodeList</code> containing all
+ the <span>top-level microdata items</span> in the document. When the
+ method is invoked on a <code>Document</code> object again with the
+ same argument, the user agent may return the same object as the
+ object returned by the earlier call. In other cases, a new
<code>NodeList</code> object must be returned.</p>
<p>The <dfn title="dom-itemScope"><code>itemScope</code></dfn> IDL
@@ -76113,8 +76127,8 @@ interface <dfn>NavigatorAbilities</dfn> {
that activates or focuses the element.</p>
<p>If specified, the value must be an <span>ordered set of unique
- space-separated tokens</span>, each of which must be exactly one
- Unicode code point in length.</p>
+ space-separated tokens</span> that are <span>case-sensitive</span>,
+ each of which must be exactly one Unicode code point in length.</p>
<div class="impl">
@@ -104452,12 +104466,12 @@ interface <span>HTMLDocument</span> {
<th> <code title="">accept-charset</code>
<td> <code title="attr-form-accept-charset">form</code>
<td> Character encodings to use for <span>form submission</span>
- <td> <span>Ordered set of unique space-separated tokens</span> consisting of <span title="preferred MIME name">preferred MIME names</span> of <span title="ASCII-compatible character encoding">ASCII-compatible character encodings</span>*
+ <td> <span>Ordered set of unique space-separated tokens</span>, <span>ASCII case-insensitive</span>, consisting of <span title="preferred MIME name">preferred MIME names</span> of <span title="ASCII-compatible character encoding">ASCII-compatible character encodings</span>*
<tr>
<th> <code title="">accesskey</code>
<td> <span title="attr-accesskey">HTML elements</span>
<td> Keyboard shortcut to activate or focus element
- <td> <span>Ordered set of unique space-separated tokens</span> consisting of one Unicode code point in length
+ <td> <span>Ordered set of unique space-separated tokens</span>, <span>case-sensitive</span>, consisting of one Unicode code point in length
<tr>
<th> <code title="">action</code>
<td> <code title="attr-fs-action">form</code>
@@ -104529,7 +104543,7 @@ interface <span>HTMLDocument</span> {
<th> <code title="">class</code>
<td> <span title="attr-class">HTML elements</span>
<td> Classes to which the element belongs
- <td> <span>Unordered set of unique space-separated tokens</span>
+ <td> <span>Set of space-separated tokens</span>
<tr>
<th> <code title="">cols</code>
<td> <code title="attr-textarea-cols">textarea</code>
@@ -104625,7 +104639,7 @@ interface <span>HTMLDocument</span> {
<th> <code title="">for</code>
<td> <code title="attr-output-for">output</code>
<td> Specifies controls from which the output was calculated
- <td> <span>Unordered set of unique space-separated tokens</span> consisting of IDs*
+ <td> <span>Unordered set of unique space-separated tokens</span>, <span>case-sensitive</span>, consisting of IDs*
<tr>
<th> <code title="">form</code>
<td> <code title="attr-fae-form">button</code>;
@@ -104676,7 +104690,7 @@ interface <span>HTMLDocument</span> {
<td> <code title="attr-tdth-headers">td</code>;
<code title="attr-tdth-headers">th</code>
<td> The header cells for this cell
- <td> <span>Unordered set of unique space-separated tokens</span> consisting of IDs*
+ <td> <span>Unordered set of unique space-separated tokens</span>, <span>case-sensitive</span>, consisting of IDs*
<tr>
<th> <code title="">height</code>
<td> <code title="attr-canvas-height">canvas</code>;
@@ -104751,12 +104765,12 @@ interface <span>HTMLDocument</span> {
<th> <code title="">itemprop</code>
<td> <span title="attr-itemprop">HTML elements</span>
<td> <span>Property names</span> of a microdata item
- <td> <span>Unordered set of unique space-separated tokens</span> consisting of <span title="absolute URL">valid absolute URLs</span>, <span title="defined property name">defined property names</span>, or text*
+ <td> <span>Unordered set of unique space-separated tokens</span>, <span>case-sensitive</span>, consisting of <span title="absolute URL">valid absolute URLs</span>, <span title="defined property name">defined property names</span>, or text*
<tr>
<th> <code title="">itemref</code>
<td> <span title="attr-itemref">HTML elements</span>
<td> Referenced elements
- <td> <span>Unordered set of unique space-separated tokens</span> consisting of IDs*
+ <td> <span>Unordered set of unique space-separated tokens</span>, <span>case-sensitive</span>, consisting of IDs*
<tr>
<th> <code title="">itemscope</code>
<td> <span title="attr-itemscope">HTML elements</span>
@@ -105002,7 +105016,7 @@ interface <span>HTMLDocument</span> {
<th> <code title="">sandbox</code>
<td> <code title="attr-iframe-sandbox">iframe</code>
<td> Security rules for nested content
- <td> <span>Unordered set of unique space-separated tokens</span> consisting of
+ <td> <span>Unordered set of unique space-separated tokens</span>, <span>ASCII case-insensitive</span>, consisting of
"<code title="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>",
"<code title="attr-iframe-sandbox-allow-forms">allow-forms</code>", and
"<code title="attr-iframe-sandbox-allow-scripts">allow-scripts</code>"
@@ -105052,7 +105066,7 @@ interface <span>HTMLDocument</span> {
<th> <code title="">sizes</code>
<td> <code title="attr-link-sizes">link</code>
<td> Sizes of the icons (for <code title="attr-link-rel">rel</code>="<code title="rel-icon">icon</code>")
- <td> <span>Unordered set of unique space-separated tokens</span> consisting of sizes*
+ <td> <span>Unordered set of unique space-separated tokens</span>, <span>ASCII case-insensitive</span>, consisting of sizes*
<tr>
<th> <code title="">span</code>
<td> <code title="attr-col-span">col</code>;

0 comments on commit 20eaf91

Please sign in to comment.