W3C home > Mailing lists > Public > www-style@w3.org > October 2000

Re: selector negation (was Re: New version of the Selectors moduleof CSS3)

From: Ian Hickson <ianh@netscape.com>
Date: Mon, 16 Oct 2000 10:10:23 -0700 (Pacific Daylight Time)
To: fantasai <fantasai@escape.com>
cc: www-style@w3.org
Message-ID: <Pine.WNT.4.21.0010161008100.984-100000@HIXIE.netscape.com>
On Mon, 16 Oct 2000, fantasai wrote:
> 
> Defining $ as equivalent to :subject.
> $ by itself means $*
> The default $ subject is the last simple selector in a complex pattern.
> 
> Redefining X:matches(Y) to mean any X that matches the Y pattern where
> Y is given as a CSS selector.
>
> This way you only have to learn how to match against one set of rules;
> standard CSS selectors.

So 

   $A > B

...is directly equivalent to:

   A:matches( $ > B ) 

...?

All you've done is changed Daniel's '#' into a '$' and allowed it outside
the :matches() pseudo-class...

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Monday, 16 October 2000 13:12:07 GMT

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