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

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 UTC