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

Re: CSS selectors and xml:id

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 08 May 2005 20:01:48 +0200
To: Ian Hickson <ian@hixie.ch>
Cc: Chris Lilley <chris@w3.org>, www-style@w3.org, public-xml-core-wg@w3.org
Message-ID: <428b40e0.257755218@smtp.bjoern.hoehrmann.de>

* Ian Hickson wrote:
>> http://annevankesteren.nl/test/xml/xml-id/003.xml
>> http://annevankesteren.nl/test/xml/xml-id/004.xml
>> 
>>   -> the style sheets are invalid and background:lime is not
>>      part of them, any implementation that passes the tests
>>      is broken
>
>I beg to differ; the XML Stylesheet PIs in those tests seem quite correct 
>to me. Could you elaborate?

The data:text/css,test{background:red}test#test{background:lime} is
a URI reference to the "test{background:lime}" fragment of the style
sheet. I sure hope there is no WHATWG proposal that changes that as
that would be incompatible with a broad range of URI and RFC 2397
implementations.

>Since in the real world Web browsers are required to implement 
>interoperable error handling behaviour much as that that will be described 
>for the HTML5 WHATWG proposals, I would say these tests are at worse 
>theoretically premature, and certainly not irrelevant.

Well, they don't really help demonstrate interoperable implementation of
xml:id in CSS implementations; even if all tests were correct, they have
too poor coverage to serve as argument for requiring xml:id support in
CSS 2.1. Some of the tests might of course be useful for other purposes.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 8 May 2005 18:01:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:37 GMT