W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

[Bug 14145] Could we define the id attribute so as to allow multiple unique ids to point to the same DOM element, by separating the names given in the value by spaces?

From: <bugzilla@jessica.w3.org>
Date: Wed, 14 Sep 2011 12:00:22 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R3o8c-0001Pg-HS@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14145

--- Comment #2 from Thaddee TYL <thaddee.tyl@gmail.com> 2011-09-14 12:00:21 UTC ---
It seems that, due to an error in the tests I did, my previous comment is
wrong.

Chrome, Firefox and Opera all allow spaces in id attributes without any need to
escape using %20.

I therefore suggest to remove the sentence that says:

"The value must not contain any space characters."

and to remove the paragraph that says:

"This specification doesn't preclude an element having multiple IDs, if other
mechanisms (e.g. DOM Core methods) can set an element's ID in a way that
doesn't conflict with the id attribute."

as Anne Van Kesteren suggested to me on #whatwg.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 14 September 2011 12:00:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:18 UTC