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

[whatwg] Two feature-suggestions for HTML5 (forms)

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 2 Jul 2009 05:16:52 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907020514580.1060@hixie.dreamhostps.com>

(Trimmed cc list to reduce cross-posting.)

On Mon, 8 Jun 2009, Asser Nilsson wrote:
> 
> There are two things in HTML5-forms that are often made with "Active" 
> Technology like JavaScript, that would be very cool, if HTML5 could do 
> these things without Scripting:
> 
> 1. I've seen this at the online-dictionary dict.leo.org: they made a 
> JavaScript-function, that you can type the word to translate without the 
> text-box marked an the characters get in there. So, you don't have to 
> mark the right textbox before you type, but you can type, no matter to 
> look, if the box is marked. I think it would be a very nice feature for 
> HTML5-forms if this would work without Scripting... E.g. an option for 
> text-fields, that everythins typed on this site is typed into this field 
> (even if it is not highlighted).

This isn't really done on enough sites to warrant built-in support, I 
don't think.


> 2. In search-boxes Javascript often is used for send every written 
> character to the server and the server return search-suggestions 
> "as-you-type". If this is possible without Scripting only with HTML/CSS 
> this would be very cool.

This was possible in a previous incarnation of HTML5, but we removed 
support because it wasn't an especially popular feature, and it turns out 
to have some pretty subtle complications.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 1 July 2009 22:16:52 UTC

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