W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] Web Forms 2.0 comments

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 10 Jun 2004 22:01:30 +0200
Message-ID: <40C8BE1A.1000805@inkedblade.net>
Sander wrote:

> I therefore propose extending the precision attribute as currently
> specified by also allowing a numerical value, any numerical value,
> which would act as a "step" between possible numerical values to be
> selected by the element.

I agree with this.

 > Sideways related to this extension to precision, I have started
 > questioning the "range" input type. How would this act (aka, display)
 > without "min" and "max" values?

That's a good point.

 > The semantic value of this element seems dubious, with it seemingly
 > being included merely to force "display: slider" on an element

The semantic difference between 'number' and 'range' is, as the spec says,
that 'range' "indicates that the exact value is not important". For a
number, the exact value the user is entering must be displayed. For a
range, a slider with a coarse number line is sufficient.

> I propose dropping range and perhaps instead recommending that (lacking
> styling hints to the contrary) user agents display all type="number"
> input elements, with min and max values less than x steps apart, as
> 'sliders'.

A typical UI for a number is a "spinner" widget, not a slider.
That's the one that has little up/down arrows alongside a short
text input.


> On which subject: Hixie, are you interested in editorial comments on the
> Web Forms draft yet, or is it still too early for that?

I've got a full printout marked up with them. How about waiting until
I'm through before doing your pass? :)


Received on Thursday, 10 June 2004 13:01:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC