W3C home > Mailing lists > Public > www-style@w3.org > February 2005

Re: [css21] multiple ID attributes with the same value

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 14 Feb 2005 13:53:28 +0100
Message-ID: <42109F48.7050905@annevankesteren.nl>
To: Ian Hickson <ian@hixie.ch>
CC: W3C CSS List <www-style@w3.org>

Ian Hickson wrote:
> Oh, I see. IMHO that would be bad, and is not what is implemented
> either.

I should be tested and not trusted my memory. That is indeed what is
implemented in at least Mozilla, Opera and Internet Explorer.

(Perhaps that is the reason people sometimes use ID when they need CLASS...)

> Both elements have the ID "xyz", so both should match "#xyz".

Perhaps the specification should state that?

Personally I still think it might make sense to make it invalid in CSS,
although I see that it would have not much impact since most browsers
already support it.

  Anne van Kesteren
Received on Monday, 14 February 2005 12:53:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:17 UTC