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

Re: [SelectorsAPI] Selector detection needed?

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Mon, 07 Apr 2008 17:46:29 +0200
Message-ID: <47FA41D5.1050905@disruptive-innovations.com>
To: www-style@w3.org

Bjoern Hoehrmann wrote:

> For which I would naturally call the methods on an empty document or
> an isolated element. Quite frankly even then this is a lot nicer then
> doing something like
> 
>   if (document.supportsSelector(DocumentSelector.CSS_TYPE_SELECTOR) &&
>       document.supportsSelector(DocumentSelector.CSS_CHILD_COMBINER))
>     ...
> 
> As has been suggested initially in this thread.

Wow. I just cannot believe what I read above. Wow.

</Daniel>
Received on Monday, 7 April 2008 15:47:04 GMT

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