[html5] r1937 - [gow] (2) Define order and case-sensitivity of getElementsByClassName().

whatwg at whatwg.org whatwg at whatwg.org
Fri Jul 25 02:46:14 PDT 2008


Author: ianh
Date: 2008-07-25 02:46:13 -0700 (Fri, 25 Jul 2008)
New Revision: 1937

Modified:
   index
   source
Log:
[gow] (2) Define order and case-sensitivity of getElementsByClassName().

Modified: index
===================================================================
--- index	2008-07-25 09:26:03 UTC (rev 1936)
+++ index	2008-07-25 09:46:13 UTC (rev 1937)
@@ -7310,11 +7310,15 @@
    contains an <a href="#unordered">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 that have all the classes specified in that argument, having
-   obtained the classes by <a href="#split" 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>.
+   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" 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">quirks mode</a>, then the comparisons for the classes
+   must be done in an <a href="#ascii">ASCII case-insensitive</a> manner,
+   otherwise, the comparisons must be done in a <a
+   href="#case-sensitive">case-sensitive</a> manner.
 
   <p>The <dfn id=getelementsbyclassname0
    title=dom-getElementsByClassName><code>getElementsByClassName()</code></dfn>
@@ -54283,21 +54287,21 @@
    Glazman, Daniel Peng, Daniel Spång, Daniel Steinberg, Danny
    Sullivan, Darin Adler, Darin Fisher, Dave Camp, Dave Singer, Dave
    Townsend<!-- Mossop on moz irc -->, David Baron, David Bloom, David
-   Carlisle, David Flanagan, David Håsäther, David Hyatt, Dean
-   Edridge, Debi Orton, Derek Featherstone, DeWitt Clinton, Dimitri Glazkov,
-   dolphinling, Doron Rosenberg, Doug Kramer, Eira Monstad, Elliotte Harold,
-   Eric Law, Erik Arvidsson, Evan Martin, Evan Prodromou, fantasai, Felix
-   Sasaki, Franck 'Shift' Quélain, Garrett Smith, Geoffrey Garen,
-   Geoffrey Sneddon, Håkon Wium Lie, Henri Sivonen, Henrik Lied, Henry
-   Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel Gonçalves, J.
-   King, Jacques Distler, James Graham, James Justin Harrell, James M Snell,
-   James Perrett, Jan-Klaas Kollhof, Jason White, Jasper Bryant-Greene, Jeff
-   Cutsinger, Jeff Walden, Jens Bannmann, Jens Fendler, Jeroen van der Meer,
-   Jim Jewett, Jim Meehan, Joe Clark, Jjgod Jiang, Joel Spolsky, Johan
-   Herland, John Boyer, John Bussjaeger, John Harding, Johnny Stenback, Jon
-   Perlow, Jonathan Worent, Jorgen Horstink, Josh Levenberg, Joshua Randall,
-   Jukka K. Korpela, Julian Reschke, Kai Hendry,
-   <!-- Keryx Web, = Lars Gunther --> Kornel Lesinski,
+   Carlisle, David Flanagan, David Håsäther, David Hyatt, David
+   Smith, Dean Edridge, Debi Orton, Derek Featherstone, DeWitt Clinton,
+   Dimitri Glazkov, dolphinling, Doron Rosenberg, Doug Kramer, Eira Monstad,
+   Elliotte Harold, Eric Law, Erik Arvidsson, Evan Martin, Evan Prodromou,
+   fantasai, Felix Sasaki, Franck 'Shift' Quélain, Garrett Smith,
+   Geoffrey Garen, Geoffrey Sneddon, Håkon Wium Lie, Henri Sivonen,
+   Henrik Lied, Henry Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel
+   Gonçalves, J. King, Jacques Distler, James Graham, James Justin
+   Harrell, James M Snell, James Perrett, Jan-Klaas Kollhof, Jason White,
+   Jasper Bryant-Greene, Jeff Cutsinger, Jeff Walden, Jens Bannmann, Jens
+   Fendler, Jeroen van der Meer, Jim Jewett, Jim Meehan, Joe Clark, Jjgod
+   Jiang, Joel Spolsky, Johan Herland, John Boyer, John Bussjaeger, John
+   Harding, Johnny Stenback, Jon Perlow, Jonathan Worent, Jorgen Horstink,
+   Josh Levenberg, Joshua Randall, Jukka K. Korpela, Julian Reschke, Kai
+   Hendry, <!-- Keryx Web, = Lars Gunther --> Kornel Lesinski,
    &#x9ed2;&#x6fa4;&#x525b;&#x5fd7; (KUROSAWA Takeshi), Kristof Zelechovski,
    Lachlan Hunt, Larry Page, Lars Gunther, Laura L. Carlson, Laura Wisewell,
    Laurens Holst, Lee Kowalkowski, Leif Halvard Silli, Lenny Domnitser,

Modified: source
===================================================================
--- source	2008-07-25 09:26:03 UTC (rev 1936)
+++ source	2008-07-25 09:46:13 UTC (rev 1937)
@@ -5347,11 +5347,15 @@
   contains an <span>unordered set of unique 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 that have all the classes specified in that
-  argument, having obtained the classes by <span title="split a string
-  on spaces">splitting a string on spaces</span>. If there are no
-  tokens specified in the argument, then the method must return an
-  empty <code>NodeList</code>.</p>
+  elements in the document, in <span>tree order</span>, that have all
+  the classes specified in that argument, having obtained the classes
+  by <span title="split a string on spaces">splitting a string on
+  spaces</span>. If there are no tokens specified in the argument,
+  then the method must return an empty <code>NodeList</code>. If the
+  document is in <span>quirks mode</span>, then the comparisons for
+  the classes must be done in an <span>ASCII case-insensitive</span>
+  manner, otherwise, the comparisons must be done in a
+  <span>case-sensitive</span> manner.</p>
 
   <p>The <dfn
   title="dom-getElementsByClassName"><code>getElementsByClassName()</code></dfn>
@@ -49282,10 +49286,10 @@
   Sullivan, Darin Adler, Darin Fisher, Dave Camp, Dave Singer, Dave
   Townsend<!-- Mossop on moz irc -->, David Baron, David Bloom, David
   Carlisle, David Flanagan, David Håsäther, David Hyatt,
-  Dean Edridge, Debi Orton, Derek Featherstone, DeWitt Clinton,
-  Dimitri Glazkov, dolphinling, Doron Rosenberg, Doug Kramer, Eira
-  Monstad, Elliotte Harold, Eric Law, Erik Arvidsson, Evan Martin,
-  Evan Prodromou, fantasai, Felix Sasaki, Franck 'Shift'
+  David Smith, Dean Edridge, Debi Orton, Derek Featherstone, DeWitt
+  Clinton, Dimitri Glazkov, dolphinling, Doron Rosenberg, Doug Kramer,
+  Eira Monstad, Elliotte Harold, Eric Law, Erik Arvidsson, Evan
+  Martin, Evan Prodromou, fantasai, Felix Sasaki, Franck 'Shift'
   Quélain, Garrett Smith, Geoffrey Garen, Geoffrey Sneddon,
   Håkon Wium Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh
   Winkler, Ignacio Javier, Ivo Emanuel Gonçalves, J. King,




More information about the Commit-Watchers mailing list