Re: [Bug 7509] Consider <dl type="dialog"> instead of <dialog>

On 10 Sep 2009, at 02:50, Leif Halvard Silli wrote:
> Toby Inkster On 09-09-09 23.40:
>
>> Specialising it using an attribute seems preferable to creating a   
>> different element for each usage. I'd suggest not using @type  
>> though  because its syntax would conflict with the attribute of  
>> the same name  on <a>, <link>, <script>, <object>, etc.
>
> It fits with how @type is used for  the <input> element. And with  
> HTML 4's <ol type="A"> and <ul type="square">.

True - I'd forgotten about those. The @type attributes of <ol> and  
<ul> have been removed from HTML5 though. input@type is a big  
inconsistency with other uses of @type, but it's too late to do  
anything about that.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Thursday, 10 September 2009 08:39:22 UTC