blob: c9c1a27d811ade94207adadcfcb4f7b8856bebe0 [file] [log] [blame]
<DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Tests null handling of several HTMLInputElement attributes");
var input = document.createElement("input");
shouldBeNull("input.getAttribute('formMethod')", "");
shouldBeNull("input.getAttribute('formEnctype')", "");
evalAndLog("input.formMethod = null");
shouldBeEqualToString("input.getAttribute('formMethod')", "null");
evalAndLog("input.formEnctype = null");
shouldBeEqualToString("input.getAttribute('formEnctype')", "null");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>