W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] [wf2] addition and attributes of type ID

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 14 Aug 2006 09:52:30 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608140948540.5340@dhalsim.dreamhost.com>
On Fri, 27 Jan 2006, Anne van Kesteren wrote:
>
> I was wondering if 13 of 
> <http://whatwg.org/specs/web-forms/current-work/#addition> perhaps could 
> be changed to say that all attributes where isId returns true should be 
> removed instead of just the one that was chosen as name of the 
> repetetition template. This to avoid duplicate IDs in the document. 
> (Multiple IDs for the same element is less of a problem imho.)

If authors are using multiple IDs on the same element, then they 
presumably know what they are doing and can handle it. I wouldn't want to 
start stripping random attributes just because someone labelled it as 
being an ID attribute. We only strip the one attribute to prevent 
confusion in the normal order of things.

IMHO.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 14 August 2006 02:52:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC