- From: L. David Baron <dbaron@dbaron.org>
- Date: Wed, 15 Nov 2006 08:21:57 -0800
- To: Anne van Kesteren <annevk@opera.com>
- Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Received on Wednesday, 15 November 2006 16:22:33 UTC
On Tuesday 2006-11-14 23:25 -0800, Anne van Kesteren wrote:
>
> On Tue, 14 Nov 2006 14:34:44 -0800, Web APIs Issue Tracker
> <dean+cgi@w3.org> wrote:
> >CSS selectors for namespace prefixes are case-insensitive. Should we
> >follow that?
>
> FWIW, the current editor's draft says that user agents must pass the
> prefix argument lowercased (A-Z becomes a-z) to the lookupNamespaceURI
> method of the NSResolver object or ECMAScript function. This should solve
> this issue.
>
> (This solution has been proposed by and discussed with at least two
> members of the CSS WG.)
Instead, should selectors say that the case-sensitivity of namespace
prefixes is determined by the case-sensitivity of the language in
which they were declared? This would mean that selectors in CSS,
where the prefixes are declared with @namespace, are
case-insensitive, but other uses of selectors might have
case-sensitive namespace prefixes.
-David
--
L. David Baron <URL: http://dbaron.org/ >
Technical Lead, Layout & CSS, Mozilla Corporation
Received on Wednesday, 15 November 2006 16:22:33 UTC