[whatwg] Quick thought on the Combo Box problem...

Lachlan Hunt lachlan.hunt at iinet.net.au
Tue Jun 29 22:12:36 PDT 2004

voracity wrote:
> Better. Popup is a little generic, though; you can't infer that it's a 
> list of data from the name. It could be a popup form, or a list of 
> actions. Perhaps <datalist>?
> OTOH, if you want generic lists, you could of course define a <list> 
> tag,

   We already have a generic list element.  I'm sure you've heard of it 
— it's called <ul>.  Why reinvent the wheel, when it rolls out a list 
just fine?

>  and then have a 'type' attribute to specialise it for whatever 
> purpose you want (since there is no <list> tag atm).

   I don't like the idea of overloading the type attribute any more than 
it currently is in HTML 4.  XHTML 2 is fixing that by making type only 
represent the content type of an external resource, and (currently) in 
some situations the content type of the content within the element (as 
in <style> and <script>).    Ideally, the type attribute should only 
represent the content type of an external resource, but we'll have to 
wait and see if that small inconsistency can be fixed or not.  OTOH, 
HTML 4 uses the type attribute for 10 different reasons on different 
elements (some presentationally), so please don't overload it any more.

Lachlan Hunt

lachlan.hunt at lachy.id.au

More information about the whatwg mailing list