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
http://lachy.id.au/
http://www.opera.com/
Received on Friday, 11 July 2008 14:23:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT