2.1.67 [HTML5:2014] Section 4.10.5.1.9 Number state (type=number)

V0156: White space in floating-point number values is treated as invalid

The specification states:

 ... Number state (type=number)
     ...
     If the element is mutable, the user agent should allow the user to change the number 
     represented by its value, as obtained from applying the rules for parsing 
     floating-point number values to it. ...

All document modes (All versions)

White space in floating-point number values is treated as invalid; it should be ignored.