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

[whatwg] Markup for Web Forms 2.0 that still requires discussion

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 6 Jul 2004 16:51:19 +0000 (UTC)
Message-ID: <Pine.LNX.4.58.0407061622340.23916@dhalsim.dreamhost.com>
On Tue, 6 Jul 2004, Jim Ley wrote:
>>
>> I fail to see how <object> would make sense here. Could you expand on your
>> proposal?
>
> <object name="combo" classid="urn:web-forms2-combobox">
>   <label> or select from the list:</label>
>   <select name="combo">
>     <option>Item 1</option>
>     <option>Item 2</option>
>     <option>Item 3</option>
>   </select>
> </object>

We couldn't use urn: (at least, not without registering a URN namespace).

But it's an interesting idea. What do others think?


>> But in this case, we are talking about making legacy UAs _show_ the
>> contents. So why would this be relevant?
>
> Just in general, it's not a good idea to have wildy different DOM
> heirachies in different UA's, it makes scripting much more complicated
> for example.

Unfortunately, if that's the main argument behind using <object> instead
of <datalist>, then it doesn't work, because in IE, the markup you gave
above has no <object> element in the DOM.

This would probably also make making a backwards-compatible version
significantly harder (Dean?).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 6 July 2004 09:51:19 UTC

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