| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |