3 <script src=
"../../resources/js-test.js"></script>
10 description("This test checks if checkValidity() returns correctly a true result on selecting a valid element.");
12 var form
= document
.querySelector('form');
13 var select
= document
.querySelector('select');
14 form
.onchange = function() {
15 shouldBeTrue('form.checkValidity()');
18 window
.onload = function() {
21 if (window
.eventSender
)
22 eventSender
.keyDown('a');