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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/getElementsByClassName-25.htm

Issue 2010163003: Fix paths of testharness*, WebIDLParser.js, idlharness.js, vendor-prefix.js for remaining files … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html><head> 2 <html><head>
3 <title>getElementsByClassName</title> 3 <title>getElementsByClassName</title>
4 <meta content="verify spacing is handled correctly" name="description"> 4 <meta content="verify spacing is handled correctly" name="description">
5 <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname " rel="help"> 5 <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname " rel="help">
6 <script src="../../../../resources/testharness.js"></script> 6 <script src="/resources/testharness.js"></script>
7 <script src="../../../../resources/testharnessreport.js"></script> 7 <script src="/resources/testharnessreport.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <div id="log"></div> 10 <div id="log"></div>
11 <div> 11 <div>
12 <div> 12 <div>
13 <a class="text link" href="#foo">test link #foo</a> 13 <a class="text link" href="#foo">test link #foo</a>
14 </div> 14 </div>
15 <b class="text">text</b> 15 <b class="text">text</b>
16 </div> 16 </div>
17 <table> 17 <table>
(...skipping 30 matching lines...) Expand all
48 var boldText = document.getElementsByTagName("b")[0]; 48 var boldText = document.getElementsByTagName("b")[0];
49 document.getElementsByTagName("table")[0].tBodies[0].rows[0].cells[0 ].appendChild(boldText); 49 document.getElementsByTagName("table")[0].tBodies[0].rows[0].cells[0 ].appendChild(boldText);
50 assert_equals(collection.length, 4); 50 assert_equals(collection.length, 4);
51 assert_equals(collection[0].parentNode.nodeName, "DIV"); 51 assert_equals(collection[0].parentNode.nodeName, "DIV");
52 assert_equals(collection[1].parentNode.nodeName, "TABLE"); 52 assert_equals(collection[1].parentNode.nodeName, "TABLE");
53 assert_equals(collection[2].parentNode.nodeName, "TD"); 53 assert_equals(collection[2].parentNode.nodeName, "TD");
54 assert_equals(collection[3].parentNode.nodeName, "TR"); 54 assert_equals(collection[3].parentNode.nodeName, "TR");
55 }, "verify spacing is handled correctly"); 55 }, "verify spacing is handled correctly");
56 </script> 56 </script>
57 </body></html> 57 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698