- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Sun, 20 Aug 2006 17:59:56 +0200
- To: "www-style@w3.org" <www-style@w3.org>
David Hyatt wrote:
>
> I never understood this restriction either. When I implemented this in
> WebKit I actually had to add code to make :not more restrictive.
1. not(a and b) is not(a) or not(b), and we already had groups of
selectors to express the latter.
2. in a selector, all simple selectors express a unique condition
on a given element/context. Making :not() accept a selector
instead of a simple selector would have broken that rule.
</Daniel>
Received on Sunday, 20 August 2006 16:00:08 UTC