Re: [selectors-api] NAMESPACE_ERR or SYNTAX_ERR when both applied

On Sun, 17 Jun 2012 13:10:11 +0200, Kang-Hao (Kenny) Lu  
<kennyluck@csail.mit.edu> wrote:

> 1. Explicitly undefine this case.

That would not be my preference.


> 2. Spec IE9, Firefox13 and Opera12alpha's behavior
>
> Roughly speaking, the choice is "an invalid token or '|' whichever comes
> first", but I'd note that in the corner case

These are valid:

|a
*|a


My proposed spec change:

>   # If the group of selectors include namespace prefixes that need to
>   # be resolved, the implementation must raise a NAMESPACE_ERR
>   # exception.

s/NAMESPACE_ERR/SYNTAX_ERR/

-- 
Simon Pieters
Opera Software

Received on Monday, 18 June 2012 07:44:25 UTC