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

[whatwg] [web-apps] Some comments

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Sun, 08 Aug 2004 18:38:09 -0400
Message-ID: <4116AB51.4040107@earthlink.net>
Anne van Kesteren wrote:
>>> 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.)

    Assumptions in the above statement:

1) The legacy UA supports CSS, specifically the "display" property.

2) The webmaster knows CSS in addition to HTML4 + WA1.

3) The legacy UA doesn't have a CSS document that overrides the web 
page's CSS with regards to unknown tags.

4) The browser supports styling of unknown elements without some kind of 
markup hack or the use of something like an HTC.

    Furthermore, all our "gracefully degradation" solutions so far have 
not required CSS.
Received on Sunday, 8 August 2004 15:38:09 UTC

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