14 lines
346 B
HTML
14 lines
346 B
HTML
<!doctype html>
|
|
<html class="a
|
|
b">
|
|
<head>
|
|
<title>document.getElementsByClassName(): also simple</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\n"), [document.documentElement, document.body]) </script>
|
|
</body>
|
|
</html>
|