Please see <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-July/027243.html">http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-July/027243.html</a><div>In short words, I disagree with the current spec.</div>

<div><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 08:45, Ian Hickson <span dir="ltr"><<a href="mailto:ian@hixie.ch">ian@hixie.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5">On Mon, 5 Apr 2010, TAMURA, Kent wrote:<br>
> On Sat, Apr 3, 2010 at 06:37, Ian Hickson <<a href="mailto:ian@hixie.ch">ian@hixie.ch</a>> wrote:<br>
> > On Sat, 3 Apr 2010, TAMURA, Kent wrote:<br>
> > ><br>
> > > I found type=number also had no typeMismatch. If a user wants to<br>
> > > type a negative value, he types '-' first.  This state should make<br>
> > > typeMismatch true because '-' is not a valid floating point number.<br>
> ><br>
> > The user agent shouldn't update the value until the input is a valid<br>
> > number. ("User agents must not allow the user to set the value to a<br>
> > string that is not a valid floating point number.")<br>
><br>
> Why are type=email and url different from type=number at this point?<br>
<br>
</div></div>Mostly because numbers are simpler, so it seemed less useful to expose<br>
half-entered numbers to the script. However, if people disagree with this<br>
I'm happy to change it so that those three work the same.<br>
<div><div></div><div class="h5"><br>
--<br>
Ian Hickson               U+1047E                )\._.,--....,'``.    fL<br>
<a href="http://ln.hixie.ch/" target="_blank">http://ln.hixie.ch/</a>       U+263A                /,   _.. \   _\  ;`._ ,.<br>
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'</div></div></blockquote></div><br><br clear="all"><br>-- <br>TAMURA Kent <br>Software Engineer, Google <br><br><br><br>
</div>