<!doctype html> <html> <head> <title>document.getElementsByClassName(): multiple classes</title> <script src="resources/common.js"></script> </head> <body class="a"> <p id="r">FAIL (script did not run)</p> <script> t(document.getElementsByClassName("a\fa"), [document.body]) </script> </body> </html>