title: maxlength=5 not working if input type=number
body: <p>This is frustrating!</p>
  
  <p>When the input type is <code>text</code> and I gave <code>maxlength</code> as 5, it is not allowing me to enter more than 5 characters</p>
  
  <pre><code>&lt;input type="text"  maxlength="5" /&gt;
  </code></pre>
  
  <p>If I gave input type as <code>number</code> and I gave <code>maxlength</code> as 5, it is allowing more than 5 digits?</p>
  
  <pre><code>&lt;input type="number" maxlength="5" pattern="[0-9]*" /&gt;
  </code></pre>
  
  <p>Am I missing something?</p>
  
  <p>PS: This is for mobile responsive site!</p>