W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: Behavior of querySelector/querySelectorAll with |div and *|div

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 11 Jul 2008 16:23:18 +0200
Message-ID: <48776CD6.8070500@lachy.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Webapps <public-webapps@w3.org>

Boris Zbarsky wrote:
>> * Defined that implementations must support * or empty namespace
>>   components, regardless of whether or not they support resolving
>>   prefixes.
> This does not.  If an implementation has not CSS3 Namespaces support, 
> then the '|' symbol is unrecognized in a selector, and parsing the 
> selector will raise a SYNTAX_ERR per this specification.  This is the 
> behavior IE8 has, and seems correct to me (well, modulo the fact that 
> they in fact do not throw on a non-null NSResolver).

I claried the spec to say if the implementation supports the namespace 
syntax, and added a note pointing out that a SYNTAX_ERR would be thrown 
in implementations that don't.

Lachlan Hunt - Opera Software
Received on Friday, 11 July 2008 14:23:59 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:11 UTC