W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2007

[whatwg] Web forms 2, input type suggestions

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 14 Jul 2007 19:08:02 -0700
Message-ID: <001001c7c695$a04f0b30$3501a8c0@TERRA>

----- Original Message ----- 
From: "Sander" <html5@zoid.nl>
To: "Martin Atkins" <mart at degeneration.co.uk>; <whatwg at whatwg.org>
Sent: Saturday, July 14, 2007 12:08 PM
Subject: Re: [whatwg] Web forms 2, input type suggestions


>
> Martin Atkins schreef:
>> Benjamin Joffe wrote:
>>> Have the following possible values for the TYPE attribute been 
>>> considered for the INPUT element?
>>>
>>> type="color"
>>> The user agent would display an appropriate colour picker and would send 
>>> a hexidecimal string represting that colour to the server.
>>
>> I like this idea. It's simple and it's something I've implemented (and 
>> seen implemented) dozens of times.
> I like this one too. It should have an pallet attribute that defines the 
> color pallet. I'm not shure how though, cause on one hand I'd like to be 
> able to choose easily from standard pallets, but on the other hand I'd 
> like the option to create custom pallets. Perhaps pallet="custom" combined 
> with a datalist could be an option here.
> ...

There are many possible implementations for different purposes.
Here is one of color selectors we use in HTML:
http://www.terrainformatica.com/sciter/screenshots/color-chooser.png

I think it is not realistic to define all of them in single specification -
too many different use cases. I would define some generic extensible
mechanism for inputs rather than defining particular input type=foo.

As an approach of making reusable HTML components:
Part I: http://www.terrainformatica.com/index.php/?p=18
Part II: http://www.terrainformatica.com/index.php/?p=19
Part III: http://www.terrainformatica.com/index.php/?p=22

Andrew Fedoniouk.
http://terrainformatica.com
Received on Saturday, 14 July 2007 19:08:02 UTC

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