blob: b36e1f54f55551747086c6d5653f05080e442b3e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<input id="input" disabled required />
<script>
description('Test if changing disabled updates checkValidity.');
var input = document.getElementById('input');
input.value = "";
input.disabled = false;
shouldBeFalse('input.checkValidity()');
</script>
</body>
</html>