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