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>  
> 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
Received on Sunday, 6 April 2008 09:56:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC