Re: CSS selectors and xml:id

On Wednesday, April 27, 2005, 10:08:09 PM, Bert wrote:


BB> On Wed, Apr 27, 2005 at 03:31:21PM -0400, Paul Grosso wrote:

>> Specifically, would it make sense for the CSS specification 
>> to state explicitly that attributes named xml:id will be 
>> treated as IDs when styling XML documents?

Yes, clearly that bit of direction would be helpful.

BB> I think it is better to keep the language abstract,

I fail to understand the phobia that seems to exist about mentioning the
XML specifications. Is CSS supposed to handle XML, or not?

BB> because there are no XML formats that allow xml:id yet,

This is clearly untrue.

BB> let alone formats that are supported by CSS UAs,

Also untrue, as Paul already mentioned

BB>  so we won't be able to test such a statement.

Clearly false, as Anne already made some test cases and there are
already implementations that pass them.

BB> And that would keep CSS 2.1 from exiting CR.

No, it wouldn't. So, please add specific language to CSS 2.1 to state
explicitly that xml:id is treated as ID for the purpose of the #
selector.

Preferably before last call, although I can send in a last call comment
if you would prefer.



-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead

Received on Wednesday, 4 May 2005 21:11:38 UTC