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

[whatwg] Comment on Forms 2.0: OPTGROUP Nesting

From: Matthew Thomas <mpt@myrealbox.com>
Date: Thu, 1 Jul 2004 22:32:11 +1200
Message-ID: <E908F1FD-CB49-11D8-80DB-000A95AD3972@myrealbox.com>
On 1 Jul, 2004, at 12:49 AM, Ian Hickson wrote:
> ...
> I did some research into the matter and it turns out that no existing 
> browser correctly parses nested OPTGROUPs. They basically all parse 
> OPTGROUP as if it had an optional end tag. So it wouldn't be possible 
> to allow nested OPTGROUPs, sadly.

Such a control doesn't even exist (that I've seen) in native Microsoft 
Windows applications, because on that OS option menus are implemented 
as "drop-down listboxes", and listboxes don't have submenus.

> ...
> Most use cases of trees don't seem to be directly related to form 
> submission, though, so we're probably going to optimise its design for 
> the interaction case rather than for the form submission case.
> ...

Use cases of submittable outline selections:
*   Country > City/Region/State
     -   international airline sites
     -   signup page for any site using MS Passport, e.g.
         Hotmail (currently it reloads for every choice, ugh)
     -   dating sites
     -   timeanddate.com
*   Product > Component/Version
     -   bug databases, e.g. Bugzilla
     -   knowledge bases, e.g. support.microsoft.com
*   category > subcategory > search within this category
     -   Yahoo Directory
     -   Google Directory
     -   Open Directory
     -   eBay.

It seems to me that it would be used more often than (for example) the 
proposed time input field.

-- 
Matthew Thomas
http://mpt.net.nz/
Received on Thursday, 1 July 2004 03:32:11 UTC

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