W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: [SelectorsAPI] Selector detection needed?

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 06 Apr 2008 11:56:03 +0200
To: "Nicholas C. Zakas" <html@nczonline.net>, www-style@w3.org
Message-ID: <op.t86ojpr164w2qv@annevk-t60.oslo.opera.com>

On Sun, 06 Apr 2008 10:36:07 +0200, Nicholas C. Zakas <html@nczonline.net>  
wrote:
> Without this information, it's impossible to tell if a query returned no  
> results because there were no elements matching the pattern or if the  
> browser just didn't understand the selector being used.

Actually, the browser is required to throw a SYNTAX_ERR in that case, per  
the current specification.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Sunday, 6 April 2008 09:56:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:04 GMT