haikuwebkit/LayoutTests/fast/parser/stray-param.html

20 lines
549 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Stray param elements are not dropped when parsing</title>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
var len = document.getElementsByTagName("param").length;
document.getElementsByTagName("p")[0].innerHTML = (len == 1) ? "PASS" : "FAIL";
};
</script>
</head>
<body>
<p>This test requires Javascript.</p>
<param>
</body>
</html>