W3C home > Mailing lists > Public > public-html@w3.org > January to March 2007

Adding attributes to elements Generically (was Let every element have a src attribute)

From: Mike Schinkel <w3c-lists@mikeschinkel.com>
Date: Wed, 28 Mar 2007 22:23:38 -0400
Message-ID: <460B232A.1040004@mikeschinkel.com>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: public-html@w3.org

Lachlan Hunt wrote:
>
> Dao Gottwald wrote:
>> .... which seems very plausible to me. Contrary to letting every 
>> element have a href attribute, it's backwards-compatible by design.
>> Are there any plans to inherit [src on every element] from the XHTML2 
>> working draft?
> No.  Several implementers have already stated that overloading 
> elements like that would be extremely difficult to implement.  They 
> already have enough trouble with implementing <object> interoperably, 
> let's not extend those problems to every other element too.
>
> These are some of the basic reasons:
>
> 1. annoying to implement
> 2. bad semanticly
> 3. lack of img-specific API / attributes, presence of non-image API
> 4. results on active elements like <input type="checkbox"> are bizzare
> 5. conflates presentational technique of image replacement with 
> semantically meaningful content images
>
Since I've had experience being told "No" when I've asked for attributes 
to be added to elements to facilitate semantic markup, I'd like to ask 
if this list is specific to hyperlink or more general in nature. And if 
the latter, I'd really like to hear an elaboration as to why for #1 and 
#2 along with more elaboration.

Thanks in advance.

-- 
-Mike Schinkel
http://www.mikeschinkel.com/blogs/
http://www.welldesignedurls.org
http://atlanta-web.org - http://t.oolicio.us
"It never ceases to amaze how many people will proactively debate away attempts to improve the web..."
Received on Thursday, 29 March 2007 02:24:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 March 2007 02:24:51 GMT