W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: <input type="percent" value="40">

From: Thomas Broyer <t.broyer@gmail.com>
Date: Fri, 27 Jul 2007 11:13:12 +0200
Message-ID: <a9699fd20707270213y5d09893aqbd58121ef747d6dc@mail.gmail.com>
To: public-html@w3.org
2007/7/27, Dmitry Turin <html60@narod.ru>:
>
> I offer
>   <input type="percent" name="a" value="40">
> which looks so
> (graphic illustrations are in
> http://html6.by.ru/site/html60/en/author/inputpercent_eng.htm )

We already have type="range" with the exact same behavior and more
(values are not limited to the 0-100 range):
"Same as number, but indicates that the exact value is not important,
letting UAs provide a simpler interface than they do for number. For
instance, visual UAs may use a slider control. The step, min, and max
attributes still apply. For this type, step defaults to 1, min
defaults to 0, max defaults to 100, and value  defaults to the min
value."
    — http://www.whatwg.org/specs/web-forms/current-work/#range

-- 
Thomas Broyer
Received on Friday, 27 July 2007 09:13:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:47 UTC