1 <html class="a A"> 2 <head> 3 <title>document.getElementsByClassName(): case sensitive (quirks mode)</title> 4 <script src="resources/common.js"></script> 5 </head> 6 <body class="a a"> 7 <p id="r">FAIL (script did not run)</p> 8 <script> 9 // We differ from Opera's implementation here. We are case-insensitive in quirks mode. 10 // t(document.getElementsByClassName("A a"), [document.documentElement]) 11 t(document.getElementsByClassName("A a"), [document.documentElement, document.body]) 12 </script> 13 </body> 14 </html> 15