Re: XPath and find/findAll methods

On 2011-11-22 14:09, Boris Zbarsky wrote:
> On 11/22/11 8:05 AM, Lachlan Hunt wrote:
>> The current draft of Selectors 4 includes :matches(), though, which can
>> partially handle that case, excluding :not([type]), which would have to
>> be left separate.
>
> That seems like a bug in :matches() that just needs fixing if it's meant
> as a replacement for :any().

Actually, I'm mistaken.  The spec says that :matches() can't be used 
within :not(), rather than the other way around.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Tuesday, 22 November 2011 13:31:04 UTC