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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/getElementsByClassName-24.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> 2 <html><head>
3 <meta charset='utf-8'> 3 <meta charset='utf-8'>
4 <title>getElementsByClassName</title> 4 <title>getElementsByClassName</title>
5 <meta content="handle unicode chars" name="description"> 5 <meta content="handle unicode chars" name="description">
6 <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname " rel="help"> 6 <link href="https://dom.spec.whatwg.org/#dom-document-getelementsbyclassname " rel="help">
7 <script src="../../../../resources/testharness.js"></script> 7 <script src="../../../../resources/testharness.js"></script>
8 <script src="../../../../resources/testharnessreport.js"></script> 8 <script src="../../../../resources/testharnessreport.js"></script>
9 </head> 9 </head>
10 <body> 10 <body>
(...skipping 10 matching lines...) Expand all
21 test(function() 21 test(function()
22 { 22 {
23 var collection = document.getElementsByClassName("ΔЙあ叶葉"); 23 var collection = document.getElementsByClassName("ΔЙあ叶葉");
24 assert_equals(collection.length, 2); 24 assert_equals(collection.length, 2);
25 assert_equals(collection[0].parentNode.nodeName, "DIV"); 25 assert_equals(collection[0].parentNode.nodeName, "DIV");
26 assert_equals(collection[1].parentNode.nodeName, "BODY"); 26 assert_equals(collection[1].parentNode.nodeName, "BODY");
27 }, "handle unicode chars"); 27 }, "handle unicode chars");
28 </script> 28 </script>
29 29
30 </body></html> 30 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698