W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > May 2005

Re: CSS selectors and xml:id

From: Chris Lilley <chris@w3.org>
Date: Mon, 9 May 2005 14:59:48 +0200
Message-ID: <1736188088.20050509145948@w3.org>
To: Ian Hickson <ian@hixie.ch>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-style@w3.org, public-xml-core-wg@w3.org

On Monday, May 9, 2005, 2:49:37 PM, Ian wrote:

IH> On Mon, 9 May 2005, Chris Lilley wrote:
>> BH> Could you propose text that should be added?
>> If an implementation supports CSS 2.1 and also supports xml:id, then the
>> xml:id attribute must be treated as an ID for the purposes of CSS
>> selector processing.

IH> This would be very bad because it would leave other ID-based APIs
IH> (such as getElementById) ignorant of xml:id.

Um, as you would say, getElementById is out of scope of CSS. The wording
above does not affect xml:id processing in any way. It merely adds a
conditional conformance clause on CSS implementations to actually do
something with the reported value.

IH> Fix the problem at the source, not at the symptom.

I'm not seeing a problem.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
Received on Monday, 9 May 2005 13:01:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:34 UTC