haikuwebkit/LayoutTests/fast/dom/getElementsByClassName/012.html

12 lines
301 B
HTML

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