Thank you for many comments on this topic.<div><br></div><div>I understand the team can use <select> or <input type=range>, and the team is actually using</div><div><input type=range> instead of <input type=number> for now.</div>
<div><br></div><div>I'm not sure if the requirements of the team are common. But I'm afraid that type=number implementations for the current specification can't satisfy requirements</div><div>of actual Web application UI and type=number won't be used widely.<br>
<br><div class="gmail_quote">On Mon, Nov 1, 2010 at 11:31, TAMURA, Kent <span dir="ltr"><<a href="mailto:tkent@chromium.org">tkent@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
A team in Google tried to use <input type=number> for a product, and they decided<br>
not to use it.<br>
What they needed was a control to select an integer from a specific integer range<br>
such as 1 - 16. The number type control in Opera and WebKit allow a user to input<br>
out-of-range value even if the control has min=1 and max=16 attributes. It's not<br>
a good UI and the reason why they doesn't use type=number.<br>
<br>
They need a number control which<br>
- doesn't allow any keyboard / cut&paste operations and<br>
So, a text field part is read-only, but the spin-buttons work.<br>
- always has a valid value.<br>
"required" by default, and sanitization algorithm may be different.<br>
<br>
I'm not sure how to solve this issue. Introducing new content attribute or<br>
another number type?<br><font color="#888888">
<br>
-- <br>
TAMURA Kent<br>
Software Engineer, Google<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>TAMURA Kent <br>Software Engineer, Google <br><br><br><br>
</div>