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

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

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 class="foo"> 2 <html><head class="foo">
3 <title class="foo">getElementsByClassName</title> 3 <title class="foo">getElementsByClassName</title>
4 <meta class="foo" content="big element listing" name="description"> 4 <meta class="foo" content="big element listing" name="description">
5 <link class="foo"> 5 <link class="foo">
6 <base class="foo"> 6 <base class="foo">
7 <script class="foo"></script> 7 <script class="foo"></script>
8 <style class="foo"></style> 8 <style class="foo"></style>
9 <script src="../../../../resources/testharness.js"></script> 9 <script src="../../../../resources/testharness.js"></script>
10 <script src="../../../../resources/testharnessreport.js"></script> 10 <script src="../../../../resources/testharnessreport.js"></script>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "VAR"]; 181 "VAR"];
182 182
183 var collection = document.getElementsByClassName("foo"); 183 var collection = document.getElementsByClassName("foo");
184 for (var x = 0; x < collection.length; x++) 184 for (var x = 0; x < collection.length; x++)
185 { 185 {
186 assert_equals(collection[x].nodeName, arrElements[x]); 186 assert_equals(collection[x].nodeName, arrElements[x]);
187 } 187 }
188 }, "big element listing"); 188 }, "big element listing");
189 </script> 189 </script>
190 </body></html> 190 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698