Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / number / number-skip-spaces-in-user-input.html
blob232f0b6d2fd4cbffe441072e847ce34a139e7c91
1 <html>
2 <body>
3 <script src="../../../resources/js-test.js"></script>
4 <input type="number" id="input"></input>
5 <script>
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()
15 input.focus();
16 document.execCommand('InsertText', false, ' 123 456 ')
17 input.blur();
19 </script>
20 </body>
21 </html>