blob: b460f065c7b09045cd6a54df11de99c697405057 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.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>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>