hixie: Allow duplicate class names to be specified. (whatwg r4357)

hixie: Allow duplicate class names to be specified. (whatwg r4357)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3489&r2=1.3490&f=h
http://html5.org/tools/web-apps-tracker?from=4356&to=4357

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3489
retrieving revision 1.3490
diff -u -d -r1.3489 -r1.3490
--- Overview.html 27 Oct 2009 19:27:56 -0000 1.3489
+++ Overview.html 27 Oct 2009 19:31:32 -0000 1.3490
@@ -6550,18 +6550,18 @@
   <a href="#case-sensitive">case-sensitive</a> manner), in <a href="#tree-order">tree order</a>.</p>
 
   <p>The <dfn id="dom-document-getelementsbyclassname" title="dom-document-getElementsByClassName"><code>getElementsByClassName(<var title="">classNames</var>)</code></dfn> method takes a string that
-  contains an <a href="#unordered-set-of-unique-space-separated-tokens">unordered set of unique space-separated
-  tokens</a> representing classes. When called, the method must
-  return a live <code>NodeList</code> object containing all the
-  elements in the document, in <a href="#tree-order">tree order</a>, that have all
-  the classes specified in that argument, having obtained the classes
-  by <a href="#split-a-string-on-spaces" title="split a string on spaces">splitting a string on
-  spaces</a>. If there are no tokens specified in the argument,
-  then the method must return an empty <code>NodeList</code>. If the
-  document is in <a href="#quirks-mode">quirks mode</a>, then the comparisons for
-  the classes must be done in an <a href="#ascii-case-insensitive">ASCII case-insensitive</a>
-  manner, otherwise, the comparisons must be done in a
-  <a href="#case-sensitive">case-sensitive</a> manner.</p>
+  contains an <span>unordered set of space-separated tokens</span>
+  representing classes. When called, the method must return a live
+  <code>NodeList</code> object containing all the elements in the
+  document, in <a href="#tree-order">tree order</a>, that have all the classes
+  specified in that argument, having obtained the classes by <a href="#split-a-string-on-spaces" title="split a string on spaces">splitting a string on
+  spaces</a>. (Duplicates are ignored.) If there are no tokens
+  specified in the argument, then the method must return an empty
+  <code>NodeList</code>. If the document is in <a href="#quirks-mode">quirks
+  mode</a>, then the comparisons for the classes must be done in an
+  <a href="#ascii-case-insensitive">ASCII case-insensitive</a> manner, otherwise, the
+  comparisons must be done in a <a href="#case-sensitive">case-sensitive</a>
+  manner.</p>
 
   <p>The <dfn id="dom-getelementsbyclassname" title="dom-getElementsByClassName"><code>getElementsByClassName(<var title="">classNames</var>)</code></dfn> method on the
   <code><a href="#htmlelement">HTMLElement</a></code> interface must return a live
@@ -7245,14 +7245,14 @@
   to render correctly even in the absence of CSS (e.g. as interpreted
   by search engines).<h5 id="classes"><span class="secno">3.2.3.6 </span>The <dfn title="attr-class"><code>class</code></dfn> attribute</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>Every <a href="#html-elements" title="HTML elements">HTML element</a> may have a
   <code title="attr-class"><a href="#classes">class</a></code> attribute specified.<p>The 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 various classes that the element belongs to.<div class="impl">
+  <span>unordered set of space-separated tokens</span> representing
+  the various classes that the element belongs to.<div class="impl">
 
   <p>The classes that an <a href="#html-elements" title="HTML elements">HTML
   element</a> has assigned to it consists of all the classes
   returned when the value of the <code title="attr-class"><a href="#classes">class</a></code>
   attribute is <a href="#split-a-string-on-spaces" title="split a string on spaces">split on
-  spaces</a>.</p>
+  spaces</a>. (Duplicates are ignored.)</p>
 
   </div><p class="note">Assigning classes to an element affects class
   matching in selectors in CSS, the <code title="dom-document-getElementsByClassName"><a href="#dom-document-getelementsbyclassname">getElementsByClassName()</a></code>

Received on Tuesday, 27 October 2009 20:22:20 UTC