[whatwg] Proposal for a link attribute to replace <a href>

On Mon, 04 Aug 2008 20:21:01 +0200, Jonas Sicking <jonas at sicking.cc> wrote:

> However if we want to add support for the long list of JS attributes  
> that exist on <a> elements today on each and every HTML element I  
> suspect that is going to get messier. Especially considering the  
> collisions for <base> and <link>. What would myBaseElement.accessKey do?  
> And is myDivElement.protocol really intuitive what it does?

Also it would quite likely clash with existing content that expects that  
those attributes don't exist on e.g. divs. (Opera has had problems with  
some new DOM attributes in WF2 due to legacy.)

-- 
Simon Pieters
Opera Software

Received on Monday, 4 August 2008 13:09:43 UTC