title: event.preventDefault() doesn't work with keyCode 229?
body: <p>I'm trying to make an input field with only integers enabled but in <strong>Android Chrome</strong> keyboard I'm unable to prevent the user from entering '.' key. The keycode for '.' key is 229 and cancelable is also true which is required for event.preventDefault(). <a href="https://i.stack.imgur.com/tLjFN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tLjFN.png" alt="Console.log output for . key mobile"></a></p>
  
  <p>The code comes and calls e.preventDefault() but somehow it doesn't work only for mobile input field in <strong>Chrome</strong> only. <strong>Firefox</strong> and <strong>iOS Safari</strong> works well.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function checkNumeric(e) {
    if ([46, 8, 9, 27, 13, 110].indexOf(e.keyCode) !== -1 ||
      // Allow: Ctrl+A
      (e.keyCode === 65 &amp;&amp; e.ctrlKey === true) ||
      // Allow: Ctrl+C
      (e.keyCode === 67 &amp;&amp; e.ctrlKey === true) ||
      // Allow: Ctrl+X
      (e.keyCode === 88 &amp;&amp; e.ctrlKey === true) ||
      // Allow: home, end, left, right
      (e.keyCode &gt;= 35 &amp;&amp; e.keyCode &lt;= 39)) {
      // let it happen, don't do anything
      return
    }
    // Ensure that it is a number and stop the keypress
    if ((e.shiftKey || (e.keyCode &lt; 48 || e.keyCode &gt; 57)) &amp;&amp; (e.keyCode &lt; 96 || e.keyCode &gt; 105)) {
      e.preventDefault()
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type='tel' onkeydown='checkNumeric(event)'&gt;</code></pre>
  </div>
  </div>
  </p>