Re: CSS selectors and xml:id

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.

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

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

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 9 May 2005 12:49:54 UTC