3 <script src=
"../../../resources/js-test.js"></script>
4 <input type=
"number" id=
"input"></input>
6 description('should skip spaces from user input number');
7 var input
= document
.getElementById('input');
8 input
.onblur = function()
10 shouldBe('input.valueAsNumber', '123456');
11 shouldBeEqualToString('input.value', '123456');
13 window
.onload = function()
16 document
.execCommand('InsertText', false, ' 123 456 ')