blob: 29dff66286f32c7a8012749e35d3a2f2777443b2 [file] [log] [blame]
<html class="a A">
<head>
<title>document.getElementsByClassName(): case sensitive (quirks mode)</title>
<script src="resources/common.js"></script>
</head>
<body class="a a">
<p id="r">FAIL (script did not run)</p>
<script>
// We differ from Opera's implementation here. We are case-insensitive in quirks mode.
// t(document.getElementsByClassName("A a"), [document.documentElement])
t(document.getElementsByClassName("A a"), [document.documentElement, document.body])
</script>
</body>
</html>