chromium/third_party/blink/web_tests/fast/forms/disabled-attr-checkvalidity.html

<!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>