W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2008

[whatwg] The sizes="" attribute for rel=icon

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Wed, 28 May 2008 20:31:40 +0200
Message-ID: <A724380E8A544FBBA57B069B21B72E2C@POCZTOWIEC>
A TEXTAREA is different from an INPUT control in that its value is in its
content, therefore it deserves a separate element.
I agree the BUTTON element feels extraterrestrial.  I suspect Microsoft of
inventing it.  I would classify it along with MARQUEE, SPACER and BLINK.

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Martin Atkins
Sent: Wednesday, May 28, 2008 7:59 PM
To: Ian Hickson
Subject: Re: [whatwg] The sizes="" attribute for rel=icon

Ian Hickson wrote:
>> In general I agree that attributes are not a scarce resource, but if you 
>> need to add use-specific attributes to a supposedly-generic element I 
>> think that indicates that the generic element is inappropriate for the 
>> use-case.
> I disagree. Look at <input>, for instance.

I wouldn't have designed <input> as it is either. It seems arbitrary 
(and initially, confusing) to me that most form elements share one 
element but then a random handful have their own custom elements. (I 
guess you might argue, though, that <textarea> and <button> ought to be 
<input> types rather than the other way around.)
Received on Wednesday, 28 May 2008 11:31:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:02 UTC