W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2005

[whatwg] Menus, fallback, and backwards compatibility: ideas wanted

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 02 Dec 2005 21:59:04 +0100
Message-ID: <20051202215904.qag3vgakjesk8g48@webmail.annevankesteren.nl>
Quoting Matthew Raymond <mattraymond at earthlink.net>:
> First, I don't like the idea of abuse of legacy markup any more than
> I like abuse of current markup. Second, <option> already has a |label|
> attribute.

Indeed, it has. Somehow I missed that.

Another idea I had was to make the first <option> element when it has a
particular ancestor element a label. So instead of saying it explicitly 
it gets
its semantics from where it appears.

  <option>this is the label
   <option>this is not

... or:

   <option>this is the label

> So we've completely reinvented <menu><select/></menu>, only using
> <cmd> as the parent instead. Why not just return to using
> <menu><select/></menu> then?

As noted earlier in this thread <cmd> was just some random name that has to be
replaced at some point, not? Anyway, I think <menu> should be reserved for
dropdown lists, but I don't feel strongly about that.

Anne van Kesteren
Received on Friday, 2 December 2005 12:59:04 UTC

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