Re: Bug: case sensitivity of CSS selectors in XHTML/XML documents

Irene Vatton <irene.vatton@inrialpes.fr> wrote:

> What do you suggest?

Implement it correctly.  Trying to accommodate bad practice won't promote
interoperability in the long run.  This bug effectively kills an attempt
to use the same style sheet with different rules for HTML and XHTML,
using different case for selectors.

Note that I'm only talking about XHTML/XML documents served as XML.
It's OK to treat selectors case-insensitively when an XHTML document
is served as 'text/html'.

  cf. http://www.w3.org/People/mimasa/test/xhtml/media-types/Amaya8.5

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Wednesday, 28 April 2004 11:45:25 UTC