W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: [html5] Multiple IDs for an element?

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 24 Jul 2007 17:37:54 +0200
To: "Jens Meiert" <jens.meiert@erde3.com>, public-html@w3.org
Message-ID: <op.tvy61gxc64w2qv@annevk-t60.oslo.opera.com>

On Tue, 24 Jul 2007 17:32:42 +0200, Jens Meiert <jens.meiert@erde3.com>  
wrote:
> Ad hoc, I see that change as an advantage concerning general  
> understanding of "uniqueness" as well as an improvement when it comes to  
> consistency. On the other hand, it likely imposes more or less severe  
> compatibility problems.

Indeed:  
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0D%0A%3Cdiv%20id%3D%22foo%20bar%22%3ETEST%3C/div%3E%0D%0A%3Cscript%3E%20w%28document.getElementById%28%22foo%20bar%22%29.tagName%29%20%3C/script%3E


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 24 July 2007 15:38:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT