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

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 UTC