Skip to content

Commit

Permalink
[gow] (2) Define order and case-sensitivity of getElementsByClassName().
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1937 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 25, 2008
1 parent c6de8de commit f2ce3f6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 29 deletions.
44 changes: 24 additions & 20 deletions index
Expand Up @@ -7310,11 +7310,15 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
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>
Expand Down Expand Up @@ -54283,21 +54287,21 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
Glazman, Daniel Peng, Daniel Sp&aring;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&aring;s&auml;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&eacute;lain, Garrett Smith, Geoffrey Garen,
Geoffrey Sneddon, H&aring;kon Wium Lie, Henri Sivonen, Henrik Lied, Henry
Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel Gon&ccedil;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&aring;s&auml;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&eacute;lain, Garrett Smith,
Geoffrey Garen, Geoffrey Sneddon, H&aring;kon Wium Lie, Henri Sivonen,
Henrik Lied, Henry Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel
Gon&ccedil;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,
Expand Down
22 changes: 13 additions & 9 deletions source
Expand Up @@ -5347,11 +5347,15 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
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>
Expand Down Expand Up @@ -49282,10 +49286,10 @@ interface <dfn>TimeoutHandler</dfn> {
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&aring;s&auml;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&eacute;lain, Garrett Smith, Geoffrey Garen, Geoffrey Sneddon,
H&aring;kon Wium Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh
Winkler, Ignacio Javier, Ivo Emanuel Gon&ccedil;alves, J. King,
Expand Down

0 comments on commit f2ce3f6

Please sign in to comment.