OLD | NEW |
1 <!-- quirks mode --> | 1 <!-- quirks mode --> |
2 <html class="a A"> | 2 <html class="a A"> |
3 <head> | 3 <head> |
4 <title>document.getElementsByClassName(): case-insensitive (quirks mode)</titl
e> | 4 <title>document.getElementsByClassName(): case-insensitive (quirks mode)</titl
e> |
5 <script src="../../../../resources/testharness.js"></script> | 5 <script src="../../../../resources/testharness.js"></script> |
6 <script src="../../../../resources/testharnessreport.js"></script> | 6 <script src="../../../../resources/testharnessreport.js"></script> |
7 </head> | 7 </head> |
8 <body class="a a"> | 8 <body class="a a"> |
9 <div id="log"></div> | 9 <div id="log"></div> |
10 <script>test(function() { | 10 <script>test(function() { |
11 assert_array_equals(document.getElementsByClassName("A a"), | 11 assert_array_equals(document.getElementsByClassName("A a"), |
12 [document.documentElement, document.body]); | 12 [document.documentElement, document.body]); |
13 }) | 13 }) |
14 </script> | 14 </script> |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |