- From: Alan Gresley <alan@css-class.com>
- Date: Tue, 08 Apr 2008 03:12:04 +1000
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- CC: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
Bjoern Hoehrmann wrote: > ... > E > F [ok] > E + F [no] > ... > > 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. Why do you need to query support for > and +. Only IE6/Win and earlier would need to be queried. What other implementation doesn't support descendant or sibling selectors? Alan
Received on Monday, 7 April 2008 17:13:24 UTC