OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html class="a | 2 <html class="a |
3 b"> | 3 b"> |
4 <head> | 4 <head> |
5 <title>document.getElementsByClassName(array): "a\n"</title> | 5 <title>document.getElementsByClassName(array): "a\n"</title> |
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 class="a | 9 <body class="a |
10 "> | 10 "> |
11 <div id="log"></div> | 11 <div id="log"></div> |
12 <script>test(function () { | 12 <script>test(function () { |
13 assert_array_equals(document.getElementsByClassName(["a\n"]), | 13 assert_array_equals(document.getElementsByClassName(["a\n"]), |
14 [document.documentElement, document.body]); | 14 [document.documentElement, document.body]); |
15 }) | 15 }) |
16 </script> | 16 </script> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |