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

Anne van Kesteren fora at annevankesteren.nl
Fri Dec 2 12:59:04 PST 2005

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

More information about the whatwg mailing list