Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Side by Side Diff: LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml

Issue 26193002: XMLSerializer escapes < > & correctly inside <script> and <style> tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg " 2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg "
3 xml:lang="en" lang="en" dir="ltr" id="html" class="unitTest" title=":root sele ctor"> 3 xml:lang="en" lang="en" dir="ltr" id="html" class="unitTest" title=":root sele ctor">
4 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <title>selectorTest</title> 6 <title>selectorTest</title>
7 <!-- (c) Disruptive Innovations 2008 --> 7 <!-- (c) Disruptive Innovations 2008 -->
8 <style type="text/css"><![CDATA[ 8 <style type="text/css"><![CDATA[
9 /* TEST 0 : BASIC TESTS */ 9 /* TEST 0 : BASIC TESTS */
10 /* element type selector */ 10 /* element type selector */
(...skipping 19 matching lines...) Expand all
30 .blox16 { background-color: red; } 30 .blox16 { background-color: red; }
31 .blox17 { background-color: red; } 31 .blox17 { background-color: red; }
32 .lastChild > p { background-color: red; } 32 .lastChild > p { background-color: red; }
33 .firstOfType > p { background-color: red } 33 .firstOfType > p { background-color: red }
34 .lastOfType > p { background-color: red } 34 .lastOfType > p { background-color: red }
35 .empty > .isEmpty { color: red; } 35 .empty > .isEmpty { color: red; }
36 html { background-color: red; } 36 html { background-color: red; }
37 37
38 html.nopass .pass { display: none; } 38 html.nopass .pass { display: none; }
39 ]]></style> 39 ]]></style>
40 <style type="text/test" id="test"> 40 <style type="text/test" id="test"><![CDATA[
41 /* :target selector */ 41 /* :target selector */
42 .target :target { background-color: lime; } 42 .target :target { background-color: lime; }
43 43
44 /* test 1 : childhood selector */ 44 /* test 1 : childhood selector */
45 html > body { background-color: green; } 45 html > body { background-color: green; }
46 .test > .blox1 { background-color: lime; } 46 .test > .blox1 { background-color: lime; }
47 47
48 /* test 2 : attribute existence selector */ 48 /* test 2 : attribute existence selector */
49 /* attribute with a value */ 49 /* attribute with a value */
50 .blox2[align] { background-color: lime; } 50 .blox2[align] { background-color: lime; }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 /* ~ combinator tests */ 186 /* ~ combinator tests */
187 .tilda .t1 { background-color: white; } 187 .tilda .t1 { background-color: white; }
188 .tilda .t1 ~ .unitTest { background-color: lime; } 188 .tilda .t1 ~ .unitTest { background-color: lime; }
189 .tilda .t1:hover ~ .unitTest { background-color: red; } 189 .tilda .t1:hover ~ .unitTest { background-color: red; }
190 190
191 /* ~ combinator tests */ 191 /* ~ combinator tests */
192 .plus .t1, .plus .t2 { background-color: white; } 192 .plus .t1, .plus .t2 { background-color: white; }
193 .plus .t1 + .unitTest + .unitTest { background-color: lime; } 193 .plus .t1 + .unitTest + .unitTest { background-color: lime; }
194 .plus .t1:hover + .unitTest + .unitTest { background-color: red; } 194 .plus .t1:hover + .unitTest + .unitTest { background-color: red; }
195 </style> 195 ]]></style>
196 <style type="text/test" id="error"> 196 <style type="text/test" id="error"><![CDATA[
197 .blox16:not(.blox15[foo="blox14"]) { background-color: red; } 197 .blox16:not(.blox15[foo="blox14"]) { background-color: red; }
198 198
199 /* Tests from http://www.w3.org/Style/CSS/Test/CSS3/Selectors/20060307/html/ index.html */ 199 /* Tests from http://www.w3.org/Style/CSS/Test/CSS3/Selectors/20060307/html/ index.html */
200 div:not(:not(div)) { background: red; } 200 div:not(:not(div)) { background: red; }
201 201
202 div, { background: red; } 202 div, { background: red; }
203 .5cm { background: red; } 203 .5cm { background: red; }
204 foo &amp; address, p { background: red; } 204 foo &amp; address, p { background: red; }
205 [*=test] { background: red; } 205 [*=test] { background: red; }
206 [*|*=test] { background: red; } 206 [*|*=test] { background: red; }
207 207
208 div:subject { background: red; } 208 div:subject { background: red; }
209 :canvas { background: red; } 209 :canvas { background: red; }
210 :viewport { background: red; } 210 :viewport { background: red; }
211 :window { background: red; } 211 :window { background: red; }
212 :menu { background: red; } 212 :menu { background: red; }
213 :table { background: red; } 213 :table { background: red; }
214 :select { background: red; } 214 :select { background: red; }
215 ::canvas { background: red; } 215 ::canvas { background: red; }
216 ::viewport { background: red; } 216 ::viewport { background: red; }
217 ::window { background: red; } 217 ::window { background: red; }
218 ::menu { background: red; } 218 ::menu { background: red; }
219 ::table { background: red; } 219 ::table { background: red; }
220 ::select { background: red; } 220 ::select { background: red; }
221 221
222 ..test { background: red; color: yellow; } 222 ..test { background: red; color: yellow; }
223 .foo..quux { background: red; color: yellow; } 223 .foo..quux { background: red; color: yellow; }
224 .bar. { background: red; color: yellow; } 224 .bar. { background: red; color: yellow; }
225 </style> 225 ]]></style>
226 <script><![CDATA[ 226 <script><![CDATA[
227 if (window.testRunner) { 227 if (window.testRunner) {
228 testRunner.dumpAsText(); 228 testRunner.dumpAsText();
229 testRunner.waitUntilDone(); 229 testRunner.waitUntilDone();
230 } 230 }
231 231
232 window.onload = function(){ 232 window.onload = function(){
233 document.getElementById("toggle").onclick = function(){ 233 document.getElementById("toggle").onclick = function(){
234 document.documentElement.className = this.checked ? "uni tTest nopass" : "unitTest"; 234 document.documentElement.className = this.checked ? "uni tTest nopass" : "unitTest";
235 }; 235 };
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 var fragment = document.createDocumentFragment(); 277 var fragment = document.createDocumentFragment();
278 fragment.appendChild( root2.cloneNode(true) ); 278 fragment.appendChild( root2.cloneNode(true) );
279 279
280 interfaceCheck(fragment, "Fragment"); 280 interfaceCheck(fragment, "Fragment");
281 runTest( css, "Fragment", fragment, true ); 281 runTest( css, "Fragment", fragment, true );
282 check( "Fragment", fragment, true, true ); 282 check( "Fragment", fragment, true, true );
283 runTest( ecss, "Syntax Error: Fragment", fragment, false ); 283 runTest( ecss, "Syntax Error: Fragment", fragment, false );
284 cacheCheck( "Fragment", fragment ); 284 cacheCheck( "Fragment", fragment );
285 285
286 root.parentNode.removeChild( root ); 286 root.parentNode.removeChild( root );
287 » » 287
288 interfaceCheck(document, "Document"); 288 interfaceCheck(document, "Document");
289 runTest( css, "Document", document, true ); 289 runTest( css, "Document", document, true );
290 check( "Document", document, true, false ); 290 check( "Document", document, true, false );
291 runTest( ecss, "Syntax Error: Document", document, false ); 291 runTest( ecss, "Syntax Error: Document", document, false );
292 jqTests("Document", document, "querySelectorAll"); 292 jqTests("Document", document, "querySelectorAll");
293 cacheCheck( "Document", document ); 293 cacheCheck( "Document", document );
294 » » 294
295 done(); 295 done();
296 296
297 function interfaceCheck(obj, type){ 297 function interfaceCheck(obj, type){
298 var q = typeof obj.querySelector === "function"; 298 var q = typeof obj.querySelector === "function";
299 assert( q, type + " supports querySelector" ); 299 assert( q, type + " supports querySelector" );
300 var qa = typeof obj.querySelectorAll === "function"; 300 var qa = typeof obj.querySelectorAll === "function";
301 assert( qa, type + " supports querySelectorAll" ); 301 assert( qa, type + " supports querySelectorAll" );
302 return q && qa; 302 return q && qa;
303 } 303 }
304 304
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 try { 392 try {
393 if ( root.querySelector ) 393 if ( root.querySelector )
394 root.querySelector(); 394 root.querySelector();
395 } catch(e){ pass = true; } 395 } catch(e){ pass = true; }
396 assert( pass, type + ".querySelector no value" ); 396 assert( pass, type + ".querySelector no value" );
397 397
398 for ( var i = 0; i < css.length; i++ ) { 398 for ( var i = 0; i < css.length; i++ ) {
399 var test = css[i]; 399 var test = css[i];
400 if ( test.length == 2 ) { 400 if ( test.length == 2 ) {
401 var query = test[0], color = test[1].mat ch(/: ([^\s;]+)/)[1]; 401 var query = test[0], color = test[1].mat ch(/: ([^\s;]+)/)[1];
402 » 402
403 try { 403 try {
404 var found = root.querySelectorAl l(query); 404 var found = root.querySelectorAl l(query);
405 » 405
406 for ( var f = 0; f < found.lengt h; f++ ) { 406 for ( var f = 0; f < found.lengt h; f++ ) {
407 found[f].style.backgroun dColor = color; 407 found[f].style.backgroun dColor = color;
408 } 408 }
409 409
410 var pass = color != "red" || fou nd.length === 0; 410 var pass = color != "red" || fou nd.length === 0;
411 411
412 assert(expect && pass, type + ". querySelectorAll: " + query); 412 assert(expect && pass, type + ". querySelectorAll: " + query);
413 } catch(e){ 413 } catch(e){
414 var pass = !expect && typeof DOM Exception !== "undefined" && e.code == DOMException.SYNTAX_ERR || false; 414 var pass = !expect && typeof DOM Exception !== "undefined" && e.code == DOMException.SYNTAX_ERR || false;
415 assert(pass, type + ".querySelec torAll: " + query); 415 assert(pass, type + ".querySelec torAll: " + query);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 var nq = q.replace(/>/g, "&gt;").replace(/</g, " &lt;"); 503 var nq = q.replace(/>/g, "&gt;").replace(/</g, " &lt;");
504 504
505 var pass = false; 505 var pass = false;
506 506
507 try { 507 try {
508 var results = query(q); 508 var results = query(q);
509 pass = hasPassed( results, ids ); 509 pass = hasPassed( results, ids );
510 } catch(e) { 510 } catch(e) {
511 pass = typeof DOMException !== "undefine d" && e.code == DOMException.SYNTAX_ERR; 511 pass = typeof DOMException !== "undefine d" && e.code == DOMException.SYNTAX_ERR;
512 } 512 }
513 » 513
514 assert( pass, type + ": " + name + " (" + nq + " )" + 514 assert( pass, type + ": " + name + " (" + nq + " )" +
515 (pass ? "" : " Expected: " + extra(ids) + " Received: " + extra(results)) ); 515 (pass ? "" : " Expected: " + extra(ids) + " Received: " + extra(results)) );
516 516
517 function hasPassed(results, ids){ 517 function hasPassed(results, ids){
518 var pass = (results && results.length == ids.length) || (!results && !ids); 518 var pass = (results && results.length == ids.length) || (!results && !ids);
519 » 519
520 if ( ids && results ) { 520 if ( ids && results ) {
521 for ( var i = 0; ids && i < ids. length; i++ ) { 521 for ( var i = 0; ids && i < ids. length; i++ ) {
522 if ( ids[i] !== results[ i].getAttribute("id") ) { 522 if ( ids[i] !== results[ i].getAttribute("id") ) {
523 pass = false; 523 pass = false;
524 } 524 }
525 } 525 }
526 } else { 526 } else {
527 pass = false; 527 pass = false;
528 } 528 }
529 529
530 return pass; 530 return pass;
531 } 531 }
532 532
533 function extra(results){ 533 function extra(results){
534 var extra = " ["; 534 var extra = " [";
535 if ( results ) { 535 if ( results ) {
536 for ( var i = 0; i < results.len gth; i++ ) { 536 for ( var i = 0; i < results.len gth; i++ ) {
537 extra += (extra.length > 2 ? "," : "") + "'" + (results[i].id || results[i]) + "'"; 537 extra += (extra.length > 2 ? "," : "") + "'" + (results[i].id || results[i]) + "'";
538 } 538 }
539 } 539 }
540 » 540
541 extra += "]"; 541 extra += "]";
542 return extra; 542 return extra;
543 } 543 }
544 } 544 }
545 545
546 var all = query("*"); 546 var all = query("*");
547 assert( all && all.length > 30, type + ": Select all" ); 547 assert( all && all.length > 30, type + ": Select all" );
548 var good = all && all.length; 548 var good = all && all.length;
549 for ( var i = 0; all && i < all.length; i++ ) 549 for ( var i = 0; all && i < all.length; i++ )
550 if ( all[i].nodeType != 1 ) 550 if ( all[i].nodeType != 1 )
(...skipping 15 matching lines...) Expand all
566 assert( rootQuery && rootQuery.length == query(" *").length - (root == document ? 1 : 0), type + ": :root All Selector" ); 566 assert( rootQuery && rootQuery.length == query(" *").length - (root == document ? 1 : 0), type + ": :root All Selector" );
567 } 567 }
568 568
569 t( "Element Selector", "p", ["firstp","ap","sndp","en"," sap","first"] ); 569 t( "Element Selector", "p", ["firstp","ap","sndp","en"," sap","first"] );
570 t( "Element Selector", "body", ["body"], false ); 570 t( "Element Selector", "body", ["body"], false );
571 t( "Element Selector", "html", ["html"], false ); 571 t( "Element Selector", "html", ["html"], false );
572 t( "Parent Element", "div p", ["firstp","ap","sndp","en" ,"sap","first"] ); 572 t( "Parent Element", "div p", ["firstp","ap","sndp","en" ,"sap","first"] );
573 var param = query("#object1 param"); 573 var param = query("#object1 param");
574 assert( param && param.length == 2, type + ": Object/par am as context" ); 574 assert( param && param.length == 2, type + ": Object/par am as context" );
575 575
576 » » » var l = query("#length");» 576 » » » var l = query("#length");
577 assert( l && l.length, type + ': &lt;input name="length" &gt; cannot be found under IE' ); 577 assert( l && l.length, type + ': &lt;input name="length" &gt; cannot be found under IE' );
578 var lin = query("#lengthtest input"); 578 var lin = query("#lengthtest input");
579 assert( lin && lin.length, type + ': &lt;input name="len gth"&gt; cannot be found under IE' ); 579 assert( lin && lin.length, type + ': &lt;input name="len gth"&gt; cannot be found under IE' );
580 580
581 t( "Broken Selector", "[" ); 581 t( "Broken Selector", "[" );
582 t( "Broken Selector", "(" ); 582 t( "Broken Selector", "(" );
583 t( "Broken Selector", "{" ); 583 t( "Broken Selector", "{" );
584 t( "Broken Selector", "<" ); 584 t( "Broken Selector", "<" );
585 t( "Broken Selector", "()" ); 585 t( "Broken Selector", "()" );
586 t( "Broken Selector", "<>" ); 586 t( "Broken Selector", "<>" );
587 t( "Broken Selector", "{}" ); 587 t( "Broken Selector", "{}" );
588 588
589 t( "ID Selector", "#body", ["body"], false ); 589 t( "ID Selector", "#body", ["body"], false );
590 t( "ID Selector w/ Element", "body#body", ["body"], fals e ); 590 t( "ID Selector w/ Element", "body#body", ["body"], fals e );
591 t( "ID Selector w/ Element", "ul#first", [] ); 591 t( "ID Selector w/ Element", "ul#first", [] );
592 t( "ID selector with existing ID descendant", "#firstp # simon1", ["simon1"] ); 592 t( "ID selector with existing ID descendant", "#firstp # simon1", ["simon1"] );
593 t( "ID selector with non-existant descendant", "#firstp #foobar", [] ); 593 t( "ID selector with non-existant descendant", "#firstp #foobar", [] );
594 594
595 t( "ID selector using UTF8", "#台北Táiběi", ["台北Táiběi "] ); 595 t( "ID selector using UTF8", "#台北Táiběi", ["台北Táiběi "] );
596 t( "Multiple ID selectors using UTF8", "#台北Táiběi, #台北 ", ["台北Táiběi","台北"] ); 596 t( "Multiple ID selectors using UTF8", "#台北Táiběi, #台北 ", ["台北Táiběi","台北"] );
597 t( "Descendant ID selector using UTF8", "div #台北", ["台北" ] ); 597 t( "Descendant ID selector using UTF8", "div #台北", ["台北" ] );
598 t( "Child ID selector using UTF8", "form > #台北", ["台北"] ); 598 t( "Child ID selector using UTF8", "form > #台北", ["台北"] );
599 » 599
600 t( "Escaped ID", "#foo\\:bar", ["foo:bar"] ); 600 t( "Escaped ID", "#foo\\:bar", ["foo:bar"] );
601 t( "Escaped ID", "#test\\.foo\\[5\\]bar", ["test.foo[5]b ar"] ); 601 t( "Escaped ID", "#test\\.foo\\[5\\]bar", ["test.foo[5]b ar"] );
602 t( "Descendant escaped ID", "div #foo\\:bar", ["foo:bar" ] ); 602 t( "Descendant escaped ID", "div #foo\\:bar", ["foo:bar" ] );
603 t( "Descendant escaped ID", "div #test\\.foo\\[5\\]bar", ["test.foo[5]bar"] ); 603 t( "Descendant escaped ID", "div #test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
604 t( "Child escaped ID", "form > #foo\\:bar", ["foo:bar"] ); 604 t( "Child escaped ID", "form > #foo\\:bar", ["foo:bar"] );
605 t( "Child escaped ID", "form > #test\\.foo\\[5\\]bar", [ "test.foo[5]bar"] ); 605 t( "Child escaped ID", "form > #test\\.foo\\[5\\]bar", [ "test.foo[5]bar"] );
606 » 606
607 t( "ID Selector, child ID present", "#form > #radio1", [ "radio1"] ); // bug #267 607 t( "ID Selector, child ID present", "#form > #radio1", [ "radio1"] ); // bug #267
608 t( "ID Selector, not an ancestor ID", "#form #first", [] ); 608 t( "ID Selector, not an ancestor ID", "#form #first", [] );
609 t( "ID Selector, not a child ID", "#form > #option1a", [ ] ); 609 t( "ID Selector, not a child ID", "#form > #option1a", [ ] );
610 » » » 610
611 t( "All Children of ID", "#foo > *", ["sndp", "en", "sap "] ); 611 t( "All Children of ID", "#foo > *", ["sndp", "en", "sap "] );
612 t( "All Children of ID with no children", "#firstUL > *" , [] ); 612 t( "All Children of ID with no children", "#firstUL > *" , [] );
613 613
614 t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986 614 t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986
615 615
616 //t( "body div#form", [], "ID selector within the contex t of another element" ); 616 //t( "body div#form", [], "ID selector within the contex t of another element" );
617 617
618 t( "Class Selector", ".blog", ["mark","simon"] ); 618 t( "Class Selector", ".blog", ["mark","simon"] );
619 t( "Class Selector", ".blog.link", ["simon"] ); 619 t( "Class Selector", ".blog.link", ["simon"] );
620 t( "Class Selector w/ Element", "a.blog", ["mark","simon "] ); 620 t( "Class Selector w/ Element", "a.blog", ["mark","simon "] );
621 t( "Parent Class Selector", "p .blog", ["mark","simon"] ); 621 t( "Parent Class Selector", "p .blog", ["mark","simon"] );
622 » 622
623 t( "Class selector using UTF8", ".台北Táiběi", ["utf8cla ss1"] ); 623 t( "Class selector using UTF8", ".台北Táiběi", ["utf8cla ss1"] );
624 t( "Class selector using UTF8", ".台北", ["utf8class1","ut f8class2"] ); 624 t( "Class selector using UTF8", ".台北", ["utf8class1","ut f8class2"] );
625 t( "Class selector using UTF8", ".台北Táiběi.台北", ["utf8 class1"] ); 625 t( "Class selector using UTF8", ".台北Táiběi.台北", ["utf8 class1"] );
626 t( "Class selector using UTF8", ".台北Táiběi, .台北", ["ut f8class1","utf8class2"] ); 626 t( "Class selector using UTF8", ".台北Táiběi, .台北", ["ut f8class1","utf8class2"] );
627 t( "Descendant class selector using UTF8", "div .台北Táib ěi", ["utf8class1"] ); 627 t( "Descendant class selector using UTF8", "div .台北Táib ěi", ["utf8class1"] );
628 t( "Child class selector using UTF8", "form > .台北Táibě i", ["utf8class1"] ); 628 t( "Child class selector using UTF8", "form > .台北Táibě i", ["utf8class1"] );
629 » 629
630 t( "Escaped Class", ".foo\\:bar", ["foo:bar"] ); 630 t( "Escaped Class", ".foo\\:bar", ["foo:bar"] );
631 t( "Escaped Class", ".test\\.foo\\[5\\]bar", ["test.foo[ 5]bar"] ); 631 t( "Escaped Class", ".test\\.foo\\[5\\]bar", ["test.foo[ 5]bar"] );
632 t( "Descendant scaped Class", "div .foo\\:bar", ["foo:ba r"] ); 632 t( "Descendant scaped Class", "div .foo\\:bar", ["foo:ba r"] );
633 t( "Descendant scaped Class", "div .test\\.foo\\[5\\]bar ", ["test.foo[5]bar"] ); 633 t( "Descendant scaped Class", "div .test\\.foo\\[5\\]bar ", ["test.foo[5]bar"] );
634 t( "Child escaped Class", "form > .foo\\:bar", ["foo:bar "] ); 634 t( "Child escaped Class", "form > .foo\\:bar", ["foo:bar "] );
635 t( "Child escaped Class", "form > .test\\.foo\\[5\\]bar" , ["test.foo[5]bar"] ); 635 t( "Child escaped Class", "form > .test\\.foo\\[5\\]bar" , ["test.foo[5]bar"] );
636 636
637 t( "Comma Support", "a.blog, p", ['firstp','ap','mark',' sndp','en','sap','simon','first'] ); 637 t( "Comma Support", "a.blog, p", ['firstp','ap','mark',' sndp','en','sap','simon','first'] );
638 t( "Comma Support", "a.blog , p", ['firstp','ap','mark', 'sndp','en','sap','simon','first'] ); 638 t( "Comma Support", "a.blog , p", ['firstp','ap','mark', 'sndp','en','sap','simon','first'] );
639 t( "Comma Support", "a.blog ,p", ['firstp','ap','mark',' sndp','en','sap','simon','first'] ); 639 t( "Comma Support", "a.blog ,p", ['firstp','ap','mark',' sndp','en','sap','simon','first'] );
640 t( "Comma Support", "a.blog,p", ['firstp','ap','mark','s ndp','en','sap','simon','first'] ); 640 t( "Comma Support", "a.blog,p", ['firstp','ap','mark','s ndp','en','sap','simon','first'] );
641 641
642 t( "Child", "p > a", ["simon1","google","groups","mark", "yahoo","simon"] ); 642 t( "Child", "p > a", ["simon1","google","groups","mark", "yahoo","simon"] );
643 t( "Child", "p> a", ["simon1","google","groups","mark"," yahoo","simon"] ); 643 t( "Child", "p> a", ["simon1","google","groups","mark"," yahoo","simon"] );
644 t( "Child", "p >a", ["simon1","google","groups","mark"," yahoo","simon"] ); 644 t( "Child", "p >a", ["simon1","google","groups","mark"," yahoo","simon"] );
645 t( "Child", "p>a", ["simon1","google","groups","mark","y ahoo","simon"] ); 645 t( "Child", "p>a", ["simon1","google","groups","mark","y ahoo","simon"] );
646 t( "Child w/ Class", "p > a.blog", ["mark","simon"] ); 646 t( "Child w/ Class", "p > a.blog", ["mark","simon"] );
647 t( "All Children", "code > *", ["anchor1","anchor2"] ); 647 t( "All Children", "code > *", ["anchor1","anchor2"] );
648 t( "All Grandchildren", "p > * > *", ["anchor1","anchor2 "] ); 648 t( "All Grandchildren", "p > * > *", ["anchor1","anchor2 "] );
649 t( "Adjacent", "a + a", ["groups"] ); 649 t( "Adjacent", "a + a", ["groups"] );
650 t( "Adjacent", "a +a", ["groups"] ); 650 t( "Adjacent", "a +a", ["groups"] );
651 t( "Adjacent", "a+ a", ["groups"] ); 651 t( "Adjacent", "a+ a", ["groups"] );
652 t( "Adjacent", "a+a", ["groups"] ); 652 t( "Adjacent", "a+a", ["groups"] );
653 t( "Adjacent", "p + p", ["ap","en","sap"] ); 653 t( "Adjacent", "p + p", ["ap","en","sap"] );
654 t( "Comma, Child, and Adjacent", "a + a, code > a", ["gr oups","anchor1","anchor2"] ); 654 t( "Comma, Child, and Adjacent", "a + a, code > a", ["gr oups","anchor1","anchor2"] );
655 » » » 655
656 t( "First Child", "p:first-child", ["firstp","sndp"] ); 656 t( "First Child", "p:first-child", ["firstp","sndp"] );
657 t( "Nth Child", "p:nth-child(1)", ["firstp","sndp"] ); 657 t( "Nth Child", "p:nth-child(1)", ["firstp","sndp"] );
658 » » » 658
659 t( "Last Child", "p:last-child", ["sap"] ); 659 t( "Last Child", "p:last-child", ["sap"] );
660 t( "Last Child", "a:last-child", ["simon1","anchor1","ma rk","yahoo","anchor2","simon"] ); 660 t( "Last Child", "a:last-child", ["simon1","anchor1","ma rk","yahoo","anchor2","simon"] );
661 » 661
662 t( "Nth-child", "#main form#form > *:nth-child(2)", ["te xt2"] ); 662 t( "Nth-child", "#main form#form > *:nth-child(2)", ["te xt2"] );
663 t( "Nth-child", "#main form#form > :nth-child(2)", ["tex t2"] ); 663 t( "Nth-child", "#main form#form > :nth-child(2)", ["tex t2"] );
664 664
665 t( "Nth-child", "#form #select1 option:nth-child(3)", [" option1c"] ); 665 t( "Nth-child", "#form #select1 option:nth-child(3)", [" option1c"] );
666 t( "Nth-child", "#form #select1 option:nth-child(0n+3)", ["option1c"] ); 666 t( "Nth-child", "#form #select1 option:nth-child(0n+3)", ["option1c"] );
667 t( "Nth-child", "#form #select1 option:nth-child(1n+0)", ["option1a", "option1b", "option1c", "option1d"] ); 667 t( "Nth-child", "#form #select1 option:nth-child(1n+0)", ["option1a", "option1b", "option1c", "option1d"] );
668 t( "Nth-child", "#form #select1 option:nth-child(1n)", [ "option1a", "option1b", "option1c", "option1d"] ); 668 t( "Nth-child", "#form #select1 option:nth-child(1n)", [ "option1a", "option1b", "option1c", "option1d"] );
669 t( "Nth-child", "#form #select1 option:nth-child(n)", [" option1a", "option1b", "option1c", "option1d"] ); 669 t( "Nth-child", "#form #select1 option:nth-child(n)", [" option1a", "option1b", "option1c", "option1d"] );
670 t( "Nth-child", "#form #select1 option:nth-child(even)", ["option1b", "option1d"] ); 670 t( "Nth-child", "#form #select1 option:nth-child(even)", ["option1b", "option1d"] );
671 t( "Nth-child", "#form #select1 option:nth-child(odd)", ["option1a", "option1c"] ); 671 t( "Nth-child", "#form #select1 option:nth-child(odd)", ["option1a", "option1c"] );
672 t( "Nth-child", "#form #select1 option:nth-child(2n)", [ "option1b", "option1d"] ); 672 t( "Nth-child", "#form #select1 option:nth-child(2n)", [ "option1b", "option1d"] );
673 t( "Nth-child", "#form #select1 option:nth-child(2n+1)", ["option1a", "option1c"] ); 673 t( "Nth-child", "#form #select1 option:nth-child(2n+1)", ["option1a", "option1c"] );
674 t( "Nth-child", "#form #select1 option:nth-child(3n)", [ "option1c"] ); 674 t( "Nth-child", "#form #select1 option:nth-child(3n)", [ "option1c"] );
675 t( "Nth-child", "#form #select1 option:nth-child(3n+1)", ["option1a", "option1d"] ); 675 t( "Nth-child", "#form #select1 option:nth-child(3n+1)", ["option1a", "option1d"] );
676 t( "Nth-child", "#form #select1 option:nth-child(3n+2)", ["option1b"] ); 676 t( "Nth-child", "#form #select1 option:nth-child(3n+2)", ["option1b"] );
677 t( "Nth-child", "#form #select1 option:nth-child(3n+3)", ["option1c"] ); 677 t( "Nth-child", "#form #select1 option:nth-child(3n+3)", ["option1c"] );
678 t( "Nth-child", "#form #select1 option:nth-child(3n-1)", ["option1b"] ); 678 t( "Nth-child", "#form #select1 option:nth-child(3n-1)", ["option1b"] );
679 t( "Nth-child", "#form #select1 option:nth-child(3n-2)", ["option1a", "option1d"] ); 679 t( "Nth-child", "#form #select1 option:nth-child(3n-2)", ["option1a", "option1d"] );
680 t( "Nth-child", "#form #select1 option:nth-child(3n-3)", ["option1c"] ); 680 t( "Nth-child", "#form #select1 option:nth-child(3n-3)", ["option1c"] );
681 t( "Nth-child", "#form #select1 option:nth-child(3n+0)", ["option1c"] ); 681 t( "Nth-child", "#form #select1 option:nth-child(3n+0)", ["option1c"] );
682 t( "Nth-child", "#form #select1 option:nth-child(-n+3)", ["option1a", "option1b", "option1c"] ); 682 t( "Nth-child", "#form #select1 option:nth-child(-n+3)", ["option1a", "option1b", "option1c"] );
683 683
684 t( "Attribute Exists", "a[title]", ["google"] ); 684 t( "Attribute Exists", "a[title]", ["google"] );
685 t( "Attribute Exists", "*[title]", ["google"] ); 685 t( "Attribute Exists", "*[title]", ["google"] );
686 t( "Attribute Exists", "[title]", ["google"] ); 686 t( "Attribute Exists", "[title]", ["google"] );
687 » » » 687
688 t( "Attribute Equals", "a[rel='bookmark']", ["simon1"] ) ; 688 t( "Attribute Equals", "a[rel='bookmark']", ["simon1"] ) ;
689 t( "Attribute Equals", 'a[rel="bookmark"]', ["simon1"] ) ; 689 t( "Attribute Equals", 'a[rel="bookmark"]', ["simon1"] ) ;
690 t( "Attribute Equals", "a[rel=bookmark]", ["simon1"] ); 690 t( "Attribute Equals", "a[rel=bookmark]", ["simon1"] );
691 t( "Multiple Attribute Equals", "#form input[type='hidde n'],#form input[type='radio']", ['radio1','radio2','hidden1'] ); 691 t( "Multiple Attribute Equals", "#form input[type='hidde n'],#form input[type='radio']", ['radio1','radio2','hidden1'] );
692 t( "Multiple Attribute Equals", "#form input[type=\"hidd en\"],#form input[type='radio']", ['radio1','radio2','hidden1'] ); 692 t( "Multiple Attribute Equals", "#form input[type=\"hidd en\"],#form input[type='radio']", ['radio1','radio2','hidden1'] );
693 t( "Multiple Attribute Equals", "#form input[type=hidden ],#form input[type=radio]", ['radio1','radio2','hidden1'] ); 693 t( "Multiple Attribute Equals", "#form input[type=hidden ],#form input[type=radio]", ['radio1','radio2','hidden1'] );
694 » 694
695 t( "Attribute selector using UTF8", "span[lang=中文]", ["台 北"] ); 695 t( "Attribute selector using UTF8", "span[lang=中文]", ["台 北"] );
696 » 696
697 t( "Attribute Begins With", "a[href ^= 'http://www']", [ "google","yahoo"] ); 697 t( "Attribute Begins With", "a[href ^= 'http://www']", [ "google","yahoo"] );
698 t( "Attribute Ends With", "a[href $= 'org/']", ["mark"] ); 698 t( "Attribute Ends With", "a[href $= 'org/']", ["mark"] );
699 t( "Attribute Contains", "a[href *= 'google']", ["google ","groups"] ); 699 t( "Attribute Contains", "a[href *= 'google']", ["google ","groups"] );
700 » 700
701 // t("Select options via [selected]", "#select1 option[s elected]", ["option1a"] ); 701 // t("Select options via [selected]", "#select1 option[s elected]", ["option1a"] );
702 t("Select options via [selected]", "#select1 option[sele cted]", [] ); 702 t("Select options via [selected]", "#select1 option[sele cted]", [] );
703 t("Select options via [selected]", "#select2 option[sele cted]", ["option2d"] ); 703 t("Select options via [selected]", "#select2 option[sele cted]", ["option2d"] );
704 t("Select options via [selected]", "#select3 option[sele cted]", ["option3b", "option3c"] ); 704 t("Select options via [selected]", "#select3 option[sele cted]", ["option3b", "option3c"] );
705 » 705
706 t( "Grouped Form Elements", "input[name='foo[bar]']", [" hidden2"] ); 706 t( "Grouped Form Elements", "input[name='foo[bar]']", [" hidden2"] );
707 » 707
708 t( ":not() Existing attribute", "#form select:not([multi ple])", ["select1", "select2"]); 708 t( ":not() Existing attribute", "#form select:not([multi ple])", ["select1", "select2"]);
709 t( ":not() Equals attribute", "#form select:not([name=se lect1])", ["select2", "select3"]); 709 t( ":not() Equals attribute", "#form select:not([name=se lect1])", ["select2", "select3"]);
710 t( ":not() Equals quoted attribute", "#form select:not([ name='select1'])", ["select2", "select3"]); 710 t( ":not() Equals quoted attribute", "#form select:not([ name='select1'])", ["select2", "select3"]);
711 711
712 t( "First Child", "p:first-child", ["firstp","sndp"] ); 712 t( "First Child", "p:first-child", ["firstp","sndp"] );
713 t( "Last Child", "p:last-child", ["sap"] ); 713 t( "Last Child", "p:last-child", ["sap"] );
714 t( "Only Child", "a:only-child", ["simon1","anchor1","ya hoo","anchor2"] ); 714 t( "Only Child", "a:only-child", ["simon1","anchor1","ya hoo","anchor2"] );
715 t( "Empty", "ul:empty", ["firstUL"] ); 715 t( "Empty", "ul:empty", ["firstUL"] );
716 //t( "Enabled UI Element", "#form input:enabled", ["text 1","radio1","radio2","check1","check2","hidden2","name"] ); 716 //t( "Enabled UI Element", "#form input:enabled", ["text 1","radio1","radio2","check1","check2","hidden2","name"] );
717 t( "Disabled UI Element", "#form input:disabled", ["text 2"] ); 717 t( "Disabled UI Element", "#form input:disabled", ["text 2"] );
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 <svg width="12cm" height="4cm" viewBox="0 0 1200 400" xmlns="http://www. w3.org/2000/svg" version="1.1" id="svg3"> 1169 <svg width="12cm" height="4cm" viewBox="0 0 1200 400" xmlns="http://www. w3.org/2000/svg" version="1.1" id="svg3">
1170 <desc id="desc3">Example circle01 - circle filled with red and stroked w ith blue</desc> 1170 <desc id="desc3">Example circle01 - circle filled with red and stroked w ith blue</desc>
1171 <rect id="rect3" x="1" y="1" width="1198" height="398" fill="none" strok e="blue" stroke-width="2"/> 1171 <rect id="rect3" x="1" y="1" width="1198" height="398" fill="none" strok e="blue" stroke-width="2"/>
1172 <circle id="circle3" cx="600" cy="200" r="100" fill="red" stroke="blue" stroke-width="10" /> 1172 <circle id="circle3" cx="600" cy="200" r="100" fill="red" stroke="blue" stroke-width="10" />
1173 </svg> 1173 </svg>
1174 </div> 1174 </div>
1175 1175
1176 <h1 id="header">jQuery Test Suite</h1> 1176 <h1 id="header">jQuery Test Suite</h1>
1177 <h2 id="banner"></h2> 1177 <h2 id="banner"></h2>
1178 <h2 id="userAgent"></h2> 1178 <h2 id="userAgent"></h2>
1179 » 1179
1180 <!-- Test HTML --> 1180 <!-- Test HTML -->
1181 <div id="nothiddendiv" style="height:1px;background:white;"> 1181 <div id="nothiddendiv" style="height:1px;background:white;">
1182 1182
1183 <div id="nothiddendivchild"></div> 1183 <div id="nothiddendivchild"></div>
1184 </div> 1184 </div>
1185 <!-- this iframe is outside the #main so it won't reload constantly wast ing time, but it means the tests must be "safe" and clean up after themselves -- > 1185 <!-- this iframe is outside the #main so it won't reload constantly wast ing time, but it means the tests must be "safe" and clean up after themselves -- >
1186 <iframe id="loadediframe" name="loadediframe" style="display:none;"></if rame> 1186 <iframe id="loadediframe" name="loadediframe" style="display:none;"></if rame>
1187 <dl id="dl" style="display:none;"> 1187 <dl id="dl" style="display:none;">
1188 <div id="main" style="display: none;"> 1188 <div id="main" style="display: none;">
1189 <p id="firstp">See <a id="simon1" href="http://simon.incutio.com /archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> f or more information.</p> 1189 <p id="firstp">See <a id="simon1" href="http://simon.incutio.com /archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> f or more information.</p>
1190 1190
1191 <p id="ap"> 1191 <p id="ap">
1192 » » » Here are some links in a normal paragraph: <a id="google " href="http://www.google.com/" title="Google!">Google</a>, 1192 » » » Here are some links in a normal paragraph: <a id="google " href="http://www.google.com/" title="Google!">Google</a>,
1193 » » » <a id="groups" href="http://groups.google.com/">Google G roups</a>. 1193 » » » <a id="groups" href="http://groups.google.com/">Google G roups</a>.
1194 » » » This link has <code><a href="http://smin" id="anchor1">c lass="blog"</a></code>: 1194 » » » This link has <code><a href="http://smin" id="anchor1">c lass="blog"</a></code>:
1195 <a href="http://diveintomark.org/" class="blog" hreflang ="en" id="mark">diveintomark</a> 1195 <a href="http://diveintomark.org/" class="blog" hreflang ="en" id="mark">diveintomark</a>
1196 1196
1197 </p> 1197 </p>
1198 <div id="foo"> 1198 <div id="foo">
1199 1199
1200 <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p> 1200 <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p>
1201 <p lang="en" id="en">This is a normal link: <a id="yahoo " href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p> 1201 <p lang="en" id="en">This is a normal link: <a id="yahoo " href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
1202 <p id="sap">This link has <code><a href="#2" id="anchor2 ">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p> 1202 <p id="sap">This link has <code><a href="#2" id="anchor2 ">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
1203 1203
1204 </div> 1204 </div>
1205 1205
1206 <p id="first">Try them out:</p> 1206 <p id="first">Try them out:</p>
1207 <ul id="firstUL"></ul> 1207 <ul id="firstUL"></ul>
1208 <ol id="empty"></ol> 1208 <ol id="empty"></ol>
1209 <form id="form" action="formaction"> 1209 <form id="form" action="formaction">
1210 <input type="text" name="action" value="Test" id="text1" maxlength="30"/> 1210 <input type="text" name="action" value="Test" id="text1" maxlength="30"/>
1211 <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/> 1211 <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
1212 <input type="radio" name="radio1" id="radio1" value="on" /> 1212 <input type="radio" name="radio1" id="radio1" value="on" />
1213 1213
1214 <input type="radio" name="radio2" id="radio2" checked="c hecked"/> 1214 <input type="radio" name="radio2" id="radio2" checked="c hecked"/>
1215 1215
1216 <input type="checkbox" name="check" id="check1" checked= "checked"/> 1216 <input type="checkbox" name="check" id="check1" checked= "checked"/>
1217 <input type="checkbox" id="check2" value="on"/> 1217 <input type="checkbox" id="check2" value="on"/>
1218 1218
1219 <input type="hidden" name="hidden" id="hidden1"/> 1219 <input type="hidden" name="hidden" id="hidden1"/>
1220 <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/> 1220 <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
1221 » » » 1221
1222 <input type="text" id="name" name="name" value="name" /> 1222 <input type="text" id="name" name="name" value="name" />
1223 » » » 1223
1224 <button id="button" name="button">Button</button> 1224 <button id="button" name="button">Button</button>
1225 » » » 1225
1226 <textarea id="area1" maxlength="30">foobar</textarea> 1226 <textarea id="area1" maxlength="30">foobar</textarea>
1227 1227
1228 » » » 1228
1229 <select name="select1" id="select1"> 1229 <select name="select1" id="select1">
1230 <option id="option1a" class="emptyopt" value=""> Nothing</option> 1230 <option id="option1a" class="emptyopt" value=""> Nothing</option>
1231 <option id="option1b" value="1">1</option> 1231 <option id="option1b" value="1">1</option>
1232 <option id="option1c" value="2">2</option> 1232 <option id="option1c" value="2">2</option>
1233 <option id="option1d" value="3">3</option> 1233 <option id="option1d" value="3">3</option>
1234 </select> 1234 </select>
1235 <select name="select2" id="select2"> 1235 <select name="select2" id="select2">
1236 1236
1237 <option id="option2a" class="emptyopt" value=""> Nothing</option> 1237 <option id="option2a" class="emptyopt" value=""> Nothing</option>
1238 <option id="option2b" value="1">1</option> 1238 <option id="option2b" value="1">1</option>
1239 <option id="option2c" value="2">2</option> 1239 <option id="option2c" value="2">2</option>
1240 <option id="option2d" selected="selected" value= "3">3</option> 1240 <option id="option2d" selected="selected" value= "3">3</option>
1241 </select> 1241 </select>
1242 <select name="select3" id="select3" multiple="multiple"> 1242 <select name="select3" id="select3" multiple="multiple">
1243 <option id="option3a" class="emptyopt" value=""> Nothing</option> 1243 <option id="option3a" class="emptyopt" value=""> Nothing</option>
1244 1244
1245 <option id="option3b" selected="selected" value= "1">1</option> 1245 <option id="option3b" selected="selected" value= "1">1</option>
1246 <option id="option3c" selected="selected" value= "2">2</option> 1246 <option id="option3c" selected="selected" value= "2">2</option>
1247 <option id="option3d" value="3">3</option> 1247 <option id="option3d" value="3">3</option>
1248 </select> 1248 </select>
1249 » » » 1249
1250 <object id="object1" codebase="stupid"> 1250 <object id="object1" codebase="stupid">
1251 <param name="p1" value="x1" /> 1251 <param name="p1" value="x1" />
1252 <param name="p2" value="x2" /> 1252 <param name="p2" value="x2" />
1253 1253
1254 </object> 1254 </object>
1255 » » » 1255
1256 <span id="台北Táiběi"></span> 1256 <span id="台北Táiběi"></span>
1257 <span id="台北" lang="中文"></span> 1257 <span id="台北" lang="中文"></span>
1258 <span id="utf8class1" class="台北Táiběi 台北"></span> 1258 <span id="utf8class1" class="台北Táiběi 台北"></span>
1259 <span id="utf8class2" class="台北"></span> 1259 <span id="utf8class2" class="台北"></span>
1260 <span id="foo:bar" class="foo:bar"></span> 1260 <span id="foo:bar" class="foo:bar"></span>
1261 <span id="test.foo[5]bar" class="test.foo[5]bar"></span> 1261 <span id="test.foo[5]bar" class="test.foo[5]bar"></span>
1262 » » » 1262
1263 <foo_bar id="foobar">test element</foo_bar> 1263 <foo_bar id="foobar">test element</foo_bar>
1264 1264
1265 </form> 1265 </form>
1266 <b id="floatTest">Float test.</b> 1266 <b id="floatTest">Float test.</b>
1267 <iframe id="iframe" name="iframe"></iframe> 1267 <iframe id="iframe" name="iframe"></iframe>
1268 <form id="lengthtest"> 1268 <form id="lengthtest">
1269 <input type="text" id="length" name="test"/> 1269 <input type="text" id="length" name="test"/>
1270 <input type="text" id="idTest" name="id"/> 1270 <input type="text" id="idTest" name="id"/>
1271 </form> 1271 </form>
1272 <table id="table"></table> 1272 <table id="table"></table>
1273 1273
1274 » » 1274
1275 <div id="fx-queue"> 1275 <div id="fx-queue">
1276 <div id="fadein" class='chain test'>fadeIn<div>fadeIn</d iv></div> 1276 <div id="fadein" class='chain test'>fadeIn<div>fadeIn</d iv></div>
1277 <div id="fadeout" class='chain test out'>fadeOut<div>fad eOut</div></div> 1277 <div id="fadeout" class='chain test out'>fadeOut<div>fad eOut</div></div>
1278 » » » 1278
1279 <div id="show" class='chain test'>show<div>show</div></d iv> 1279 <div id="show" class='chain test'>show<div>show</div></d iv>
1280 <div id="hide" class='chain test out'>hide<div>hide</div ></div> 1280 <div id="hide" class='chain test out'>hide<div>hide</div ></div>
1281 1281
1282 » » » 1282
1283 <div id="togglein" class='chain test'>togglein<div>toggl ein</div></div> 1283 <div id="togglein" class='chain test'>togglein<div>toggl ein</div></div>
1284 <div id="toggleout" class='chain test out'>toggleout<div >toggleout</div></div> 1284 <div id="toggleout" class='chain test out'>toggleout<div >toggleout</div></div>
1285 » » 1285
1286 » » » 1286
1287 <div id="slideup" class='chain test'>slideUp<div>slideUp </div></div> 1287 <div id="slideup" class='chain test'>slideUp<div>slideUp </div></div>
1288 <div id="slidedown" class='chain test out'>slideDown<div >slideDown</div></div> 1288 <div id="slidedown" class='chain test out'>slideDown<div >slideDown</div></div>
1289 » » » 1289
1290 <div id="slidetogglein" class='chain test'>slideToggleIn <div>slideToggleIn</div></div> 1290 <div id="slidetogglein" class='chain test'>slideToggleIn <div>slideToggleIn</div></div>
1291 1291
1292 <div id="slidetoggleout" class='chain test out'>slideTog gleOut<div>slideToggleOut</div></div> 1292 <div id="slidetoggleout" class='chain test out'>slideTog gleOut<div>slideToggleOut</div></div>
1293 </div> 1293 </div>
1294 » » 1294
1295 <div id="fx-tests"></div> 1295 <div id="fx-tests"></div>
1296 1296
1297 <form id="testForm" action="#" method="get"> 1297 <form id="testForm" action="#" method="get">
1298 <textarea name="T3" rows="2" cols="15">? 1298 <textarea name="T3" rows="2" cols="15">?
1299 Z</textarea> 1299 Z</textarea>
1300 <input type="hidden" name="H1" value="x" /> 1300 <input type="hidden" name="H1" value="x" />
1301 <input type="hidden" name="H2" /> 1301 <input type="hidden" name="H2" />
1302 1302
1303 <input name="PWD" type="password" value="" /> 1303 <input name="PWD" type="password" value="" />
1304 <input name="T1" type="text" /> 1304 <input name="T1" type="text" />
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 </div> 1351 </div>
1352 </form> 1352 </form>
1353 <div id="nonnodes"><span>hi</span> there <!-- mon ami -- ></div> 1353 <div id="nonnodes"><span>hi</span> there <!-- mon ami -- ></div>
1354 1354
1355 <div id="t2037"> 1355 <div id="t2037">
1356 <div><div class="hidden">hidden</div></div> 1356 <div><div class="hidden">hidden</div></div>
1357 </div> 1357 </div>
1358 </div> 1358 </div>
1359 </div> 1359 </div>
1360 </dl> 1360 </dl>
1361 » 1361
1362 <ol id="tests"></ol> 1362 <ol id="tests"></ol>
1363 </div> 1363 </div>
1364 <ol id="results"></ol> 1364 <ol id="results"></ol>
1365 </body> 1365 </body>
1366 </html> 1366 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/SelectorAPI/resig-SelectorsAPI-test-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698