[whatwg] HTMLInputElement::valueAsNumber and NaN Infinity
tkent at chromium.org
Mon Jan 25 02:13:01 PST 2010
On Mon, Jan 25, 2010 at 19:10, Philip Taylor
<excors+whatwg at gmail.com<excors%2Bwhatwg at gmail.com>
> On Mon, Jan 25, 2010 at 9:55 AM, TAMURA, Kent <tkent at chromium.org> wrote:
> > It seems the current spec doesn't define behavior in a case of setting
> > or Infinitiy to HTMLInputElement::valueAsNumber.
> http://whatwg.org/html5#float-nan : "Except where otherwise specified,
> if an IDL attribute that is a floating point number type (float) is
> assigned an Infinity or Not-a-Number (NaN) value, a NOT_SUPPORTED_ERR
> exception must be raised."
> This case seems to apply for valueAsNumber.
Oh, that's right. I overlooked it.
Software Engineer, Google
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg