1 <script src=
"../../../resources/js-test.js"></script>
3 description('Read-only number input should not dispatch a change event.');
4 var changeEventCounter
= 0;
5 function handleChange() {
8 var parent
= document
.createElement('div');
9 parent
.innerHTML
= '<input type="number" value="0" onchange="handleChange()" readonly>';
10 shouldBe('changeEventCounter', '0');