W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

[whatwg] whatwg Digest, Vol 80, Issue 1

From: רוני אורבך <r@ronnyo.com>
Date: Tue, 2 Nov 2010 10:28:52 +0200
Message-ID: <AANLkTinhUei1BFNkKmacb+K0f+NOm9X95uC859n2tZgb@mail.gmail.com>
Date: Mon, 1 Nov 2010 11:14:23 +0200
From: timeless <timeless@gmail.com>
To: ash at ashleysheridan.co.uk
Cc: "TAMURA, Kent" <tkent at chromium.org>, whatwg <whatwg at whatwg.org>
Subject: Re: [whatwg] <input type=number> without keyboard editing
Message-ID:
       <AANLkTinhyD=6ME7A1wxvfR_yOi2gyf8Knyy2AfJyuGeS at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
>
>Ashley wrote:
>> set one in onchange
>>
>> That's a javascript event, and shouldn't be relied upon for this sort of
thing really.
>
>And my useragent is allowed to send arbitrary data to your server. you
>*must* deal with it.

Anyway, older user agents will fall back to type="text", which won't have
any restrictions. For edge cases just use JavaScript with server-side
validation, you shouldn't and couldn't rely on HTML5 validation alone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101102/20b12d2e/attachment-0001.htm>
Received on Tuesday, 2 November 2010 01:28:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC