:not() works for names, ids, classes and pseudoclasses based on states.
It does not yet work for positional pseudoclasses (like :last-child or :even) as there is region madness going on with those.
8a3a617 cssselector: Add initial support for :not()
gtk/gtkcssselector.c | 135 +++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 123 insertions(+), 12 deletions(-)
Upstream: git.gnome.org