Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / number / number-lossless-localization.html
blob0babadd1ce6a987e717111545d6a4c252a156fc8
1 <!DOCTYPE html>
2 <body>
3 <script src="../../../resources/js-test.js"></script>
4 <input type="number" id="number1">
5 <script>
6 var numberInput = document.getElementById('number1');
7 numberInput.focus();
8 // Note that this test doesn't work in a locale in which people don't use 0-9
9 // for numbers.
10 document.execCommand('inserttext', false, '0000123456789012345678901234567890123456789');
11 numberInput.blur();
12 shouldBeEqualToString('numberInput.value', '0000123456789012345678901234567890123456789');
13 </script>
14 </body>