W3C home > Mailing lists > Public > www-style@w3.org > September 2001

RE: OT: selectors (RE: Excluding declarations from the cascade)

From: Manos Batsis <m.batsis@bsnet.gr>
Date: Tue, 4 Sep 2001 12:07:20 +0300
Message-ID: <A35E2040C17F0C48B941B8F4D0DF122908E346@ermhs.Athens.BrokerSystems.gr>
To: "Ian Hickson" <ianh@hixie.ch>
Cc: <www-style@w3.org>

> -----Original Message-----
> From: Ian Hickson [mailto:ianh@hixie.ch]

> XPath is newer than selectors. This is the third release of the
> language, which was first released as part of CSS1 in 1996.

It is rather ironic; I can use "html:td/xed:area" in IE (with Jscript;
bliah) but I can't use 
htm\:td > xed\:area (Damn thing does not understand '>'). Let's not even
get into complicated CSS selectors. Go figure...

> Selectors are designed with dynamic environments in mind, making them
> suitable for things like web browsers, which may try to match several
> hundred selectors against several thousand elements every time the
> moves the mouse. XPath is significantly harder to optimise for cases
> this, as might be expected as it was designed to be complete, not

Does this relate with all the API debates going on and the close
relationship  between XPath and DOM implementations? 

Kindest regards,

Received on Tuesday, 4 September 2001 06:08:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC