[whatwg] [web-apps] Some comments

Ian Hickson ian at hixie.ch
Wed Aug 25 15:43:56 PDT 2004


On Sun, 8 Aug 2004, Anne van Kesteren wrote:

> > > 2.2.6. The command element and commands
> > > 
> > > Why is the content model of the COMMAND element empty? It would be a 
> > > lot better imo if it was designed like BUTTON. That would also mean 
> > > that the LABEL attribute can be left out.
> > 
> > The <command> button is intended to be used in situations where you 
> > don't want the menu to render at all on a legacy browser. Therefore, 
> > if it has text inside it, that text will be rendered when the user 
> > doesn't want it to be.
> 
> We have CSS to deal with this. Markup should be designed independent 
> from presentation, especially when that is possible.
> 
> (And it is possible, since Internet Explorer 6.0 does support 'display' 
> enough to deal with this.)

Lynx doesn't.

CSS is optional by design. We can't rely on CSS for fallback behaviour.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list