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(): also simple</title> | 5 <title>document.getElementsByClassName(): also simple</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() {assert_array_equals(document.getElementsByClassName(
"a\n"), [document.documentElement, document.body])}) </script> | 12 <script> test(function() {assert_array_equals(document.getElementsByClassName(
"a\n"), [document.documentElement, document.body])}) </script> |
13 </body> | 13 </body> |
14 </html> | 14 </html> |
OLD | NEW |